notify method

  1. @override
void notify(
  1. T val
)
override

Implementation

@override
void notify(T val) {
  _timer?.cancel();
  _timer = Timer(duration, () {
    if (!canceled) {
      super.notify(val);
    }
  });
}