SourceWatcher.config constructor
- @visibleForTesting
allows to set the watcher to be used only for testing
Implementation
@visibleForTesting
SourceWatcher.config({
required this.dirPath,
required DirectoryWatcher watcher,
this.excludePaths = const [],
}) : _watcher = watcher;