toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'autosaveSettings',
    if (extra != null) '@extra': extra,
    'private_chat_settings': private_chat_settings,
    'group_settings': group_settings,
    'channel_settings': channel_settings,
    'exceptions': exceptions
  };
}