TrackingLifecycleActions class final
Lifecycle commands currently safe for the host UI to show.
Constructors
- TrackingLifecycleActions({required bool canStartNew, required bool canPause, required bool canResume, required bool canComplete, required bool commandInProgress})
-
const
- TrackingLifecycleActions.fromState({required TrackerStatus status, required Track? currentTrack, required TrackingReadiness readiness})
-
factory
Properties
- canComplete → bool
-
final
- canPause → bool
-
final
- canResume → bool
-
final
- canStartNew → bool
-
final
- commandInProgress → bool
-
final
- 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