LocusTrip class
Trip lifecycle management.
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
tripEvents
→ Stream<
TripEvent> -
Stream of trip lifecycle events.
no setter
Static Methods
-
dispose(
) → Future< void> - Disposes resources.
-
getTripState(
) → TripState? - Returns the current trip state if a trip is active.
-
startTrip(
TripConfig config) → Future< void> - Starts a trip lifecycle engine with the provided config.
-
stopTrip(
) → TripSummary? - Stops the active trip and returns a summary if available.