of<T extends Bloc?> static method
T?
of<T extends Bloc?>(
- T instance()
Implementation
static T? of<T extends Bloc?>(T Function() instance) {
return BlocCache.getBlocInstance(T.toString(), instance) as T?;
}