compassUpdates method

Stream<CompassModel> compassUpdates({
  1. Duration? interval,
  2. double? azimuthFix,
  3. MyLoc? currentLoc,
})

Returns a stream to receive the compass updates.

Remember to close the stream after using it.

Implementation

Stream<CompassModel> compassUpdates(
        {Duration? interval, double? azimuthFix, MyLoc? currentLoc}) =>
    _compass.compassUpdates(interval!, azimuthFix!, myLoc: currentLoc);