toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'getMapThumbnailFile',
if (extra != null) '@extra': extra,
'location': location,
'zoom': zoom,
'width': width,
'height': height,
'scale': scale,
'chat_id': chat_id
};
}