readBloc<T extends Bloc> method
T
readBloc<T extends Bloc>()
Similar to the ReadContext.read
method from the Provider package.
Implementation
T readBloc<T extends Bloc>() => BlocProvider.read<T>(this);