ofType<T extends ModBloc<ModBaseDTO, dynamic> > static method
Implementation
static T ofType<T extends ModBloc>(BuildContext cntxt) {
//final type = _providerType<LoginBlocProvider<T>>();
final LoginBlocProvider<T> provider = cntxt.findAncestorWidgetOfExactType() as LoginBlocProvider<T>;
return provider.bloc;
}