call method

dynamic call(
  1. VoidCallback callback
)

Implementation

call(VoidCallback callback) {
  _timer?.cancel();
  _timer = Timer(delay, callback);
}