initState method

  1. @protected
S initState()
inherited

Optional callback method to initialize the BloC's state.

Implementation

@protected
S initState() {
  const message = 'A BloC\'s state should be initialized when instancied';
  throw UnimplementedError(message);
}