hydrate method
- @protected
Attempts to restore persisted state and ensures pending writes flush on dispose. Returns null when there is no saved state.
Implementation
@protected
State? hydrate() {
_registerDispose();
return _loadState();
}
Attempts to restore persisted state and ensures pending writes flush on dispose. Returns null when there is no saved state.
@protected
State? hydrate() {
_registerDispose();
return _loadState();
}