Sensors constructor Null safety
Constructs a singleton instance of Sensors.
Sensors is designed to work as a singleton.
Implementation
factory Sensors() => _singleton ??= Sensors._();
Constructs a singleton instance of Sensors.
Sensors is designed to work as a singleton.
factory Sensors() => _singleton ??= Sensors._();