Compass class

Constructors

Compass()
Class factory. Init the instance if was not initialized before.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compassUpdates({Duration? interval, double? azimuthFix, MyLoc? currentLoc}) Stream<CompassModel>
Returns a stream to receive the compass updates.
isCompassAvailable() Future<bool>
Checks if the sensors needed for the compass to work are available.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAzimuthFix(double fix) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited