eventChannel property

BlocEventChannel get eventChannel

Convenience function to get the nearest BlocEventChannel, typically the BlocEventChannel of the last Bloc generated by blocBuilders.

Implementation

BlocEventChannel get eventChannel =>
    read<BlocEventChannel>(allowUninitialized: true);