ValueStreamController<T> class Null safety

A class that tracks a single value as a stream, but can also provide the latest value;

Available Extensions

Constructors

ValueStreamController(String debugLabel, {T? initialValue, bool isUnique = true})

Properties

currentValue ↔ T?
read / write
debugLabel String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isUnique bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stream ValueStream<T?>
read-only

Methods

add(T? newValue) → void
close() Future
dispose() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited