toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'groupCall',
if (extra != null) '@extra': extra,
'id': id,
'title': title,
'scheduled_start_date': scheduled_start_date,
'enabled_start_notification': enabled_start_notification,
'is_active': is_active,
'is_rtmp_stream': is_rtmp_stream,
'is_joined': is_joined,
'need_rejoin': need_rejoin,
'can_be_managed': can_be_managed,
'participant_count': participant_count,
'has_hidden_listeners': has_hidden_listeners,
'loaded_all_participants': loaded_all_participants,
'recent_speakers': recent_speakers,
'is_my_video_enabled': is_my_video_enabled,
'is_my_video_paused': is_my_video_paused,
'can_enable_video': can_enable_video,
'mute_new_participants': mute_new_participants,
'can_toggle_mute_new_participants': can_toggle_mute_new_participants,
'record_duration': record_duration,
'is_video_recorded': is_video_recorded,
'duration': duration
};
}