NanoRead<T> class abstract

Instances of NanoRead can be used to access a value of type T and it's possible to subscribe to changes to this value.

Implementers
Available Extensions

Constructors

NanoRead()
Creates a new NanoRead.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
Gets the current value.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(NanoReadSubscribeCallback<T> callback) → void Function()
Subscribes to changes to the value, which means callback is called each time a change occurs.
toString() String
A string representation of this object.
inherited

Operators

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