toJson method
Converts an InputLocationMessageContent object to a JSON map
Implementation
@override
Map<String, dynamic> toJson() {
return {
'latitude': latitude,
'longitude': longitude,
'live_period': livePeriod,
'horizontal_accuracy': horizontalAccuracy,
'heading': heading,
'proximity_alert_radius': proximityAlertRadius,
}..removeWhere(_nullFilter);
}