InputMessageLocation.fromJson constructor

InputMessageLocation.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory InputMessageLocation.fromJson(Map<String, dynamic> json) =>
    InputMessageLocation(
      location: Location.fromJson(json['location']),
      livePeriod: json['live_period'],
      heading: json['heading'],
      proximityAlertRadius: json['proximity_alert_radius'],
    );