analyticsCategory top-level property
NB: analytics uses one key for success and error. Intentional — analytics events rarely have distinct error types.
Implementation
final analyticsCategory = ISpectTraceCategory(
id: TraceCategoryIds.analytics,
successKey: ISpectLogType.analytics.key,
errorKey: ISpectLogType.analytics.key,
);