active property

bool get active

Check if the watcher is active via non empty listeners.

Implementation

bool get active {
  return _watch.isNotEmpty || _listen.isNotEmpty;
}