StateStream<T> class

Wrapper class for state updates for StateFulInstanceSettings

Exposes Stream for needed value and also current value of mapped state value

Constructors

StateStream.new(Stream<T?> stream, T mapper())
const

Properties

current → T?
Returns current mapped state value
no setter
hashCode int
The hash code for this object.
no setterinherited
mapper → T Function()
Mapper for state
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<T?>
Stream for given state value
final

Methods

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