of static method
Implementation
static TopResources of(BuildContext context) => context.getInheritedWidgetOfExactType<TopInherit>()!.resources;
static TopResources of(BuildContext context) => context.getInheritedWidgetOfExactType<TopInherit>()!.resources;