GetInteractiveMarkersResponse.fromJson constructor

GetInteractiveMarkersResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory GetInteractiveMarkersResponse.fromJson(Map<String, Object?> json) =>
    GetInteractiveMarkersResponse(
      sequenceNumber: Field.intAt(json, 'sequence_number'),
      markers: Field.asList<InteractiveMarker>(
          json['markers'], InteractiveMarker.fromJson),
    );