dispose method
Dispose the state
Implementation
@override
void dispose() {
if (_snapState.oldSnapState == null) {
return;
}
undoRedoPersistState?.persistOnDispose(_snapState.state);
shouldRecreateTheValue = null;
super.dispose();
}
Dispose the state
@override
void dispose() {
if (_snapState.oldSnapState == null) {
return;
}
undoRedoPersistState?.persistOnDispose(_snapState.state);
shouldRecreateTheValue = null;
super.dispose();
}