StartState class
Represents the starting point in the state graph.
Every state graph of a ui state workwflow must contain one instance of this type, to mark the entry point of the workflow.
Constructors
- StartState({required String id})
- Creates an instance of StartState.
Properties
- condition → (bool Function()?)
-
The entering condition of this state.
finalinherited
- fallbackId → String?
-
The fallback state id which is used if the condition fails.
finalinherited
- fallbackTransition → TriggerTransition
-
Returns the fallback transition for a conditional state.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParent → bool
-
no setterinherited
- id → String
-
An unique identifier.
finalinherited
- isConditional → bool
-
no setterinherited
- parent ↔ GroupState?
-
The parent state associated with this state.
getter/setter pairinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
check(
) → bool -
Executes the condition if set and returns the result.
inherited
-
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