InitialChild class sealed

A callable class that can select the initial child state of a parent state, when the parent state is entered.

Implementers

Constructors

InitialChild.new(StateKey initialChild)
Constructs an InitialChild indicating that the state identified by initialChild should be entered.
factory
InitialChild.run(GetInitialChild getInitialChild)
Constructs an InitialChild that will run the getInitialChild function when the state is entered in order to determine the initial child,
factory

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

call(TransitionContext transCtx) StateKey
Returns the key of the child state that should be entered.
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