ResourceWatcher class
Abstraction over a Watcher
that has a Future to indicate when the
watcher is ready.
The ready event will not fire until a listener has been set up on changes and the watcher initialization is complete.
Constructors
-
ResourceWatcher(Stream<
WatchEvent> changes, Future<void> _ready())
Properties
-
changes
→ Stream<
WatchEvent> -
A broadcast stream of changes from this watcher.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<
void> -
An event that fires when the watcher is fully initialized and ready to
produce events.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited