toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateNotificationGroup',
if (extra != null) '@extra': extra,
'notification_group_id': notification_group_id,
'type': type,
'chat_id': chat_id,
'notification_settings_chat_id': notification_settings_chat_id,
'notification_sound_id': notification_sound_id,
'total_count': total_count,
'added_notifications': added_notifications,
'removed_notification_ids': removed_notification_ids
};
}