run method

void run(
  1. VoidCallback callback
)

Implementation

void run(VoidCallback callback) {
  if (throttle != null) {
    _runWithThrottle(callback);
  } else if (debounce != null) {
    _runWithDebounce(callback);
  } else {
    callback();
  }
}