RecorderPayload constructor
RecorderPayload({
- String? id,
- String? roomId,
- String? sessionId,
- Iterable<
RecordingFile> ? files, - Iterable<
RecordingStream> ? streams, - String? cid,
- String? ipfsUrl,
- bool? uploadToIpfs,
Implementation
factory RecorderPayload({
$core.String? id,
$core.String? roomId,
$core.String? sessionId,
$core.Iterable<RecordingFile>? files,
$core.Iterable<RecordingStream>? streams,
$core.String? cid,
$core.String? ipfsUrl,
$core.bool? uploadToIpfs,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (roomId != null) {
$result.roomId = roomId;
}
if (sessionId != null) {
$result.sessionId = sessionId;
}
if (files != null) {
$result.files.addAll(files);
}
if (streams != null) {
$result.streams.addAll(streams);
}
if (cid != null) {
$result.cid = cid;
}
if (ipfsUrl != null) {
$result.ipfsUrl = ipfsUrl;
}
if (uploadToIpfs != null) {
$result.uploadToIpfs = uploadToIpfs;
}
return $result;
}