toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'action': action,
'duration': duration,
'capacity': capacity,
'userName': userName,
'scheduledDate': scheduledDate,
'secureCode': secureCode,
'eventType': eventType?.toString().split('.').last,
'meetingRoomParams': meetingRoomParams?.toMap(),
'recordingParams': recordingParams?.toMap(),
'recordOnly': recordOnly,
'safeRoom': safeRoom,
'autoStartSafeRoom': autoStartSafeRoom,
'safeRoomAction': safeRoomAction,
'dataBuffer': dataBuffer,
'bufferType': bufferType,
};
}