magnetometerEvents top-level property Null safety

Stream<MagnetometerEvent> magnetometerEvents

A broadcast stream of events from the device magnetometer.

Implementation

Stream<MagnetometerEvent> get magnetometerEvents {
  return _sensors.magnetometerEvents;
}