toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data["room_id"] = roomId;
data["room_type"] = roomType.value();
data["room_name"] = name ?? "";
data["camera_disable"] = isCameraDisableForAllUser;
data["microphone_disable"] = isMicrophoneDisableForAllUser;
data["message_disable"] = isMessageDisableForAllUser;
data["screen_share_disable"] = isScreenShareDisableForAllUser;
data["is_seat_enabled"] = isSeatEnabled;
data["seat_mode"] = seatMode.value();
data["max_seat_count"] = maxSeatCount;
data["cdn_streaming_disable"] = enableCDNStreaming;
data["cdn_stream_domain"] = cdnStreamDomain;
data["password"] = password;
return data;
}