toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'eventID': eventID,
    'duration': duration,
    'capacity': capacity,
    'userName': userName,
    'scheduledDate': scheduledDate.toIso8601String(),
    'secureCode': secureCode,
    'waitRoom': waitRoom,
    'recordingParams': recordingParams?.toMap(),
    'eventRoomParams': eventRoomParams?.toMap(),
    'videoPreference': videoPreference,
    'audioPreference': audioPreference,
    'audioOutputPreference': audioOutputPreference,
    'mediasfuURL': mediasfuURL,
  };
}