getInitialState method

  1. @protected
FastThemeBlocState getInitialState()
inherited

Tries to retreive the initial BloC's state.

Implementation

@protected
S getInitialState() {
  if (initialState != null) {
    return initialState!;
  }

  if (initialStateBuilder != null) {
    return initialStateBuilder!();
  }

  return initState();
}