analyticsCategory top-level property

ISpectTraceCategory analyticsCategory
final

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,
);