JourneyHelper class

A helper class for journey navigation

Constructors

JourneyHelper.new(String navigationHubState)
Create a new journey helper for the given navigation hub state

Properties

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

Methods

getCompletionPercentage() double
Get the completion percentage (0.0 to 1.0)
getCurrentStep() int
Get the current step index (0-based)
getTotalSteps() int
Get the total number of steps
goToStep(int stepIndex) → void
Jump to a specific step by index
isFirstStep() bool
Check if this is the first step
isLastStep() bool
Check if this is the last step
nextStep() Future<bool>
Navigate to the next step, returns false if already at the last step
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previousStep() Future<bool>
Navigate to the previous step, returns false if already at the first step
resetCurrentStep() → void
Reset the current step
toString() String
A string representation of this object.
inherited

Operators

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