SensorInfo constructor

SensorInfo({
  1. String? sourceComponentName,
  2. String? type,
  3. String? dataFrequencyHz,
})

Implementation

factory SensorInfo({
  $core.String? sourceComponentName,
  $core.String? type,
  $core.String? dataFrequencyHz,
}) {
  final $result = create();
  if (sourceComponentName != null) {
    $result.sourceComponentName = sourceComponentName;
  }
  if (type != null) {
    $result.type = type;
  }
  if (dataFrequencyHz != null) {
    $result.dataFrequencyHz = dataFrequencyHz;
  }
  return $result;
}