recordEvent method

Future<void> recordEvent({
  1. required AnalyticsEvent event,
})

Save an event to be sent in the next batch to the analytics service

Implementation

Future<void> recordEvent({required AnalyticsEvent event}) => identifyCall(
      AnalyticsCategoryMethod.recordEvent,
      () => defaultPlugin.recordEvent(event: event),
    );