toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'groupCallParticipant',
if (extra != null) '@extra': extra,
'participant_id': participant_id,
'audio_source_id': audio_source_id,
'screen_sharing_audio_source_id': screen_sharing_audio_source_id,
'video_info': video_info,
'screen_sharing_video_info': screen_sharing_video_info,
'bio': bio,
'is_current_user': is_current_user,
'is_speaking': is_speaking,
'is_hand_raised': is_hand_raised,
'can_be_muted_for_all_users': can_be_muted_for_all_users,
'can_be_unmuted_for_all_users': can_be_unmuted_for_all_users,
'can_be_muted_for_current_user': can_be_muted_for_current_user,
'can_be_unmuted_for_current_user': can_be_unmuted_for_current_user,
'is_muted_for_all_users': is_muted_for_all_users,
'is_muted_for_current_user': is_muted_for_current_user,
'can_unmute_self': can_unmute_self,
'volume_level': volume_level,
'order': order
};
}