SensorInfo constructor
SensorInfo({
- String? name,
- 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;
}