Watcher<T> class
abstract
A class that tells how to watch an observable T
.
The Watcher class provides a mechanism to watch an observable and notify observers when the it changes.
See also:
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
T observable, VoidCallback notify) → void -
Stops watching
observable
. -
canWatch(
dynamic observable) → bool -
Whether this watcher can watch
observable
. -
dispose(
T observable) → void - Disposes this watcher.
-
init(
T observable, VoidCallback notify) → void -
Starts watching
observable
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override