ObservableController<T> class

A controller with the observable it controls.

This controller allows updating the value of its observable. This class can be used to create a simple observable that others can listen to, and to change the value of that observable.

Constructors

ObservableController(T value)
A controller with an observable with the initial specified value.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
observable Observable<T>
The observable that this controller is controlling.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ T
Get the current value.
read / write

Methods

close() → void
Closes the observable.
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