toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'addChatMember',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'user_id': user_id,
'forward_limit': forward_limit
};
}