initializeState method Null safety

FutureOr<T?> initializeState()
inherited

Initialize the state

Implementation

FutureOr<T?> initializeState() {
  final data = _reactiveModelState.snapState.data;
  if (isWaiting) {
    return stateAsync;
  }
  return data;
}