initState method

  1. @protected
S initState()

Optional callback method to initialize the BloC's state.

Implementation

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