- @override
Callback used to notify a node that it is about to be removed.
Source
@override
onRemoving() {
if (timer != null) {
timer.dispose();
}
storeBuffer();
while (onRemoveCallbacks.isNotEmpty) {
onRemoveCallbacks.removeAt(0)();
}
}