SensorMetadata constructor

SensorMetadata({
  1. Timestamp? timeRequested,
  2. Timestamp? timeReceived,
  3. MimeType? mimeType,
  4. Annotations? annotations,
})

Implementation

factory SensorMetadata({
  $44.Timestamp? timeRequested,
  $44.Timestamp? timeReceived,
  MimeType? mimeType,
  $3.Annotations? annotations,
}) {
  final $result = create();
  if (timeRequested != null) {
    $result.timeRequested = timeRequested;
  }
  if (timeReceived != null) {
    $result.timeReceived = timeReceived;
  }
  if (mimeType != null) {
    $result.mimeType = mimeType;
  }
  if (annotations != null) {
    $result.annotations = annotations;
  }
  return $result;
}