DataCaptureUploadRequest constructor

DataCaptureUploadRequest({
  1. UploadMetadata? metadata,
  2. Iterable<SensorData>? sensorContents,
})

Implementation

factory DataCaptureUploadRequest({
  UploadMetadata? metadata,
  $core.Iterable<SensorData>? sensorContents,
}) {
  final $result = create();
  if (metadata != null) {
    $result.metadata = metadata;
  }
  if (sensorContents != null) {
    $result.sensorContents.addAll(sensorContents);
  }
  return $result;
}