toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'editInlineMessageLiveLocation',
if (extra != null) '@extra': extra,
'inline_message_id': inline_message_id,
'reply_markup': reply_markup,
'location': location,
'heading': heading,
'proximity_alert_radius': proximity_alert_radius
};
}