ValueWrapper<T> class Null safety

Wrap a value. This used to keep the latest value of a Stream including null value.

Constructors

ValueWrapper(T value)
Construct a ValueWrapper from value.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → T
Wrapped value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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