ConfigWatcherMixin mixin
Watches the path provided for changes
- Mixin applications
Properties
-
completers
→ Map<
String, Completer< bool> > -
gets the completers
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelConfigWatchers(
{required bool shouldQuit}) → Future< void> - cancels all watchers
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
watcher(
String path) → FileWatcher -
Watches the
path
for changes -
watchForConfigChanges(
String path, {FutureOr< void> onChange()?}) → Future<bool> - the watcher for the BrickOvenYaml.file
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited