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