StreamTransition<T> class
A transition that is triggered through a stream.
- Inheritance
-
- Object
- Transition
- StreamTransition
Constructors
-
StreamTransition(Stream<
T> stream, Callback1<T> callback)
Properties
-
callback
→ Callback1<
T> -
The callback to be evaluated when the stream triggers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
T> -
The stream triggering this transition.
final
Methods
-
activate(
) → void -
Called when the source state is activate.
override
-
deactivate(
) → void -
Called when the source state is deactivated.
override
-
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