bloc property
B
get
bloc
Access the stateManager as a Bloc with the correct type.
This property provides strongly-typed access to the state manager as a Bloc, allowing for event-based state management usage with the add() method.
Implementation
B get bloc => stateManager;