toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'owned_chat_ids': ownedChatIds.map((item) => item).toList(),
'joined_chat_ids': joinedChatIds.map((item) => item).toList(),
'@type': constructor,
};