Sensor constructor

const Sensor({
  1. required String name,
  2. required String vendor,
  3. required int version,
  4. required int type,
  5. required double maxRange,
  6. required double resolution,
  7. required double power,
  8. required int minDelay,
  9. int? reportingMode,
  10. bool? isDynamicSensor,
  11. bool? isWakeUpSensor,
  12. int? fifoReservedEventCount,
  13. int? fifoMaxEventCount,
  14. String? stringYpe,
  15. int? maxDelay,
  16. 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,
});