ValueStream<T> class
abstract
Interface representing a stream that has a current or initial value as well.
See HStream, which provides the initial value at the start of the stream, and SyncStream, which keeps the value up-to-date
Constructors
- ValueStream.empty()
-
factory
-
ValueStream.of(FutureOr<
T?> first, [Stream<T> ? after, String? debugName]) -
factory
Properties
Methods
-
get(
) → FutureOr< T?> -
map<
R> (R mapper(T input)) → ValueStream< R> - Basics of converting something over
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
[T? ifAbsent]) → T? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
controller<
X> (String debugLabel, {X? initialValue, bool isUnique = true}) → ValueStreamController< X> -
singleValue<
X> ({String? debugLabel, FutureOr< X> ? initialValue}) → ValueStream<X>