toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'joinGroupCall',
if (extra != null) '@extra': extra,
'group_call_id': group_call_id,
'participant_id': participant_id,
'audio_source_id': audio_source_id,
'payload': payload,
'is_muted': is_muted,
'is_my_video_enabled': is_my_video_enabled,
'invite_hash': invite_hash
};
}