of static method

DynamicCache of(
  1. BuildContext context
)

Implementation

static DynamicCache of(BuildContext context) {
  final inherited =
      context.dependOnInheritedWidgetOfExactType<DynamicCacheProvider>()!;
  return inherited.notifier!;
}