SensorInfo constructor

SensorInfo({
  1. String? name,
  2. SensorType? type,
})

Implementation

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