bloc<B extends Bloc<BlocState>> method

B bloc<B extends Bloc<BlocState>>()

Implementation

B bloc<B extends Bloc>() => BlocProvider.of<B>(this);