toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'basicGroupFullInfo',
if (extra != null) '@extra': extra,
'photo': photo,
'description': description,
'creator_user_id': creator_user_id,
'members': members,
'can_hide_members': can_hide_members,
'can_toggle_aggressive_anti_spam': can_toggle_aggressive_anti_spam,
'invite_link': invite_link,
'bot_commands': bot_commands
};
}