toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'private_chat_settings': privateChatSettings.toJson(),
'group_settings': groupSettings.toJson(),
'channel_settings': channelSettings.toJson(),
'exceptions': exceptions.map((item) => item.toJson()).toList(),
'@type': constructor,
};