enabled property

bool get enabled

Whether the edge follows output at all.

Turning it off leaves the reader where they are. Turning it back on is the host's resume action: the edge follows again and moves to the end.

Implementation

bool get enabled => _enabled;
set enabled (bool value)

Implementation

set enabled(bool value) {
  if (value == _enabled) return;
  _enabled = value;
  if (value) {
    _following = true;
    if (!_returning) _scheduleFollow();
  }
  _refreshLatest(null);
  _notify();
}