BinaryMetadata constructor
BinaryMetadata({
- String? id,
- CaptureMetadata? captureMetadata,
- Timestamp? timeRequested,
- Timestamp? timeReceived,
- String? fileName,
- String? fileExt,
- String? uri,
- Annotations? annotations,
- Iterable<
String> ? datasetIds,
Implementation
factory BinaryMetadata({
$core.String? id,
CaptureMetadata? captureMetadata,
$44.Timestamp? timeRequested,
$44.Timestamp? timeReceived,
$core.String? fileName,
$core.String? fileExt,
$core.String? uri,
Annotations? annotations,
$core.Iterable<$core.String>? datasetIds,
}) {
final $result = create();
if (id != null) {
$result.id = id;
}
if (captureMetadata != null) {
$result.captureMetadata = captureMetadata;
}
if (timeRequested != null) {
$result.timeRequested = timeRequested;
}
if (timeReceived != null) {
$result.timeReceived = timeReceived;
}
if (fileName != null) {
$result.fileName = fileName;
}
if (fileExt != null) {
$result.fileExt = fileExt;
}
if (uri != null) {
$result.uri = uri;
}
if (annotations != null) {
$result.annotations = annotations;
}
if (datasetIds != null) {
$result.datasetIds.addAll(datasetIds);
}
return $result;
}