toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'getChatInviteLinks',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'creator_user_id': creator_user_id,
'is_revoked': is_revoked,
'offset_date': offset_date,
'offset_invite_link': offset_invite_link,
'limit': limit
};
}