maybeOf static method
Look up the nearest ancestor scope. Returns null if no scope is installed — callers should fall back gracefully.
Implementation
static TickkiAnalytics? maybeOf(BuildContext context) {
final inh = context
.dependOnInheritedWidgetOfExactType<_TickkiAnalyticsInheritedScope>();
return inh?.analytics;
}