notifyDispose method
Notify listeners with dispose of this object.
Implementation
@mustCallSuper
void notifyDispose() {
for (var action in onDispose) {
action(this);
}
onDispose.clear();
}
Notify listeners with dispose of this object.
@mustCallSuper
void notifyDispose() {
for (var action in onDispose) {
action(this);
}
onDispose.clear();
}