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

Implementers
Available Extensions

Constructors

ValueStream.empty()
factory
ValueStream.of(FutureOr<T?> first, [Stream<T>? after, String? debugName])
factory

Properties

after Stream<T>
no setter
debugName String?
no setter
future Future<T?>
no setter
hashCode int
The hash code for this object.
no setterinherited
isFirstResolved bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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>