DataStateKey<D> class
Getting Started
An identifier for a data state, carrying state data of type D, within a
tree state machine.
DataStateKey is a phantom type, in that D is not used at runtime, but
is useful for documentation purposes, making the association between a data
state and its data type more obvious.
Keys must be unique within a tree of states. Note however that
DataStateKey incorporates the type D into it's identity, so different
DataStateKeys may share the same name as long as D differs.
- Implemented types
- Implementers
Constructors
- DataStateKey(String name)
-
Constructs a DataStateKey with the specified
name.const
Properties
Methods
-
createDataStream(
) → ValueSubject< D> - Creates a new ValueSubject.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited