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