lookupAnalyticsEvent function

AnalyticsEventSpec lookupAnalyticsEvent(
  1. String name
)

Resolves name to its spec, soft-allowing an unknown name as a Tier-1 event with no required properties (never null, never a throw).

Implementation

AnalyticsEventSpec lookupAnalyticsEvent(String name) =>
    kAnalyticsRegistry[name] ?? _tier1;