hydrate method
Hydrates the bloc.
Implementation
Future<void> hydrate() async {
if (!isBlocHydrated) {
var candidateState = await store.retrieve(persitenceKey);
candidateState ??= currentState;
setState(candidateState.copyWith(hydrated: true) as S);
isBlocHydrated = true;
}
}