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