generic_sensor library Null safety

Generic Sensor API

https://w3c.github.io/sensors/

Classes

MockSensor
MockSensorConfiguration
MockSensorReadingValues
Sensor
The interface of the Sensor APIs is the base class for all the other sensor interfaces. This interface cannot be used directly. Instead it provides properties, event handlers, and methods accessed by interfaces that inherit from it. [...]
SensorErrorEvent
The interface of the Sensor APIs provides information about errors thrown by a Sensor or related interface.
SensorErrorEventInit
SensorOptions

Enums

MockSensorType