Observable<T> class Null safety

A pretty bog-standard observable. Odd that Dart doesn't have one in the core library.

Oh - ValueSetter<T> and friends, maybe? Whatever.

Constructors

Observable(T _value)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ T
read / write

Methods

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

Operators

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