getInitialState method

  1. @protected
MatexCountryBlocState 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();
}