MessageLocation.fromJson constructor

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

Parse from a json

Implementation

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