InputLocationMessageContent.fromJson constructor
Constructs an InputLocationMessageContent object from a JSON map
Implementation
factory InputLocationMessageContent.fromJson(Map<String, dynamic> json) {
return InputLocationMessageContent(
latitude: json['latitude'] as double,
longitude: json['longitude'] as double,
livePeriod: json['live_period'] as int?,
horizontalAccuracy: json['horizontal_accuracy'] as int?,
heading: json['heading'] as int?,
proximityAlertRadius: json['proximity_alert_radius'] as int?,
);
}