of<T extends Bloc> static method
Implementation
static T? of<T extends Bloc>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_Provider<T>>()?.bloc;
}
static T? of<T extends Bloc>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_Provider<T>>()?.bloc;
}