initializeState method
Initialize the state
Implementation
FutureOr<T?> initializeState() {
final data = snapState.data;
if (isWaiting) {
return stateAsync;
}
return data;
}
Initialize the state
FutureOr<T?> initializeState() {
final data = snapState.data;
if (isWaiting) {
return stateAsync;
}
return data;
}