onNotification<S> method
What to do when the observables are changed.
Implementation
@override
void onNotification<S>(SaveProvider<S> provider) {
if (_skipFirstNotification) {
_skipFirstNotification = false;
return;
}
try {
(state as dynamic).dispose();
} on NoSuchMethodError {
// ignore it
}
initialize();
}