onRun method

  1. @visibleForOverriding
FutureOr<bool> onRun()

To override

return true if handled.

Implementation

@visibleForOverriding
FutureOr<bool> onRun() {
  if (_onRun != null) {
    return _onRun!();
  }
  return false;
}