StreamTransition<T> class

A transition that is triggered through a stream.

Inheritance

Constructors

StreamTransition(Provider<Stream<T>> provider, 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
provider Provider<Stream<T>>
The provider of a stream triggering this transition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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