toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"id": id,
"title": title,
"scheduled_start_date": scheduledStartDate,
"enabled_start_notification": enabledStartNotification,
"is_active": isActive,
"is_joined": isJoined,
"need_rejoin": needRejoin,
"can_be_managed": canBeManaged,
"participant_count": participantCount,
"loaded_all_participants": loadedAllParticipants,
"recent_speakers": recentSpeakers.map((i) => i.toJson()).toList(),
"is_my_video_enabled": isMyVideoEnabled,
"is_my_video_paused": isMyVideoPaused,
"can_enable_video": canEnableVideo,
"mute_new_participants": muteNewParticipants,
"can_toggle_mute_new_participants": canToggleMuteNewParticipants,
"record_duration": recordDuration,
"is_video_recorded": isVideoRecorded,
"duration": duration,
};
}