isRunning property

bool isRunning

whether the watcher is running

Implementation

bool get isRunning =>
    _listener != null &&
    (_events.isNotEmpty ||
        _beforeEvents.isNotEmpty ||
        _afterEvents.isNotEmpty);