toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageSendOptions',
if (extra != null) '@extra': extra,
'disable_notification': disable_notification,
'from_background': from_background,
'protect_content': protect_content,
'update_order_of_installed_sticker_sets':
update_order_of_installed_sticker_sets,
'scheduling_state': scheduling_state,
'sending_id': sending_id
};
}