of static method
Implementation
static MetricsProvider? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<MetricsProvider>();
static MetricsProvider? of(BuildContext context) =>
context.dependOnInheritedWidgetOfExactType<MetricsProvider>();