LocationModule class
Module for high-accuracy GPS and location tracking. Uses fused location providers for better battery efficiency.
Constructors
- LocationModule()
- Internal constructor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
LocationData> -
Stream of real-time LocationData (latitude, longitude, etc.).
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< bool> - Starts the location tracking service. May request background execution if configured.
-
stop(
) → Future< bool> - Stops location updates and releases hardware resources.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited