Sensor constructor
const
Sensor({
- required String name,
- required String vendor,
- required int version,
- required int type,
- required double maxRange,
- required double resolution,
- required double power,
- required int minDelay,
- int? reportingMode,
- bool? isDynamicSensor,
- bool? isWakeUpSensor,
- int? fifoReservedEventCount,
- int? fifoMaxEventCount,
- String? stringYpe,
- int? maxDelay,
- int? id,
Implementation
const Sensor({
required this.name,
required this.vendor,
required this.version,
required this.type,
required this.maxRange,
required this.resolution,
required this.power,
required this.minDelay,
this.reportingMode,
this.isDynamicSensor,
this.isWakeUpSensor,
this.fifoReservedEventCount,
this.fifoMaxEventCount,
this.stringYpe,
this.maxDelay,
this.id,
});