Watcher constructor
Implementation
Watcher({
/// The path of the entry being observed.
required String entryPath,
/// Whether watching should include all child entries recursively. It can be
/// true for directories only.
required bool recursive,
/// Tag used by the last notification for the watcher.
String? lastTag,
}) : _wrapped = $js.Watcher(
entryPath: entryPath,
recursive: recursive,
lastTag: lastTag,
);