DataCaptureUploadMetadata constructor

DataCaptureUploadMetadata({
  1. UploadMetadata? uploadMetadata,
  2. SensorMetadata? sensorMetadata,
})

Implementation

factory DataCaptureUploadMetadata({
  UploadMetadata? uploadMetadata,
  SensorMetadata? sensorMetadata,
}) {
  final $result = create();
  if (uploadMetadata != null) {
    $result.uploadMetadata = uploadMetadata;
  }
  if (sensorMetadata != null) {
    $result.sensorMetadata = sensorMetadata;
  }
  return $result;
}