toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'setBotUpdatesStatus',
if (extra != null) '@extra': extra,
'pending_update_count': pending_update_count,
'error_message': error_message
};
}