ForegroundLocationService class
Handles location updates in a foreground service, maintaining continuous location tracking even when the app is in the background.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locationStream
→ Stream<
RaliPosition> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Dispose of resources
-
initForegroundTask(
) → Future< void> - Initialize the foreground service configuration
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startForegroundTask(
) → Future< bool> - Start the foreground service
-
stopForegroundTask(
) → Future< bool> - Stop the foreground service
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited