of static method

String? of(
  1. BuildContext context
)

Implementation

static String? of(BuildContext context) {
  ModelNameProvider? widget = context.dependOnInheritedWidgetOfExactType<ModelNameProvider>();
  return widget?.blocName;
}