bloc<R extends MultiBaseInherited> static method

BaseBloc? bloc<R extends MultiBaseInherited>(
  1. BuildContext context,
  2. String key
)

Implementation

static BaseBloc? bloc<R extends MultiBaseInherited>(
        BuildContext context, String key) =>
    (context.dependOnInheritedWidgetOfExactType<R>() as R)._blocs![key];