logEvent static method

Future<EventRecordStatus> logEvent(
  1. String eventId
)

Records a custom event specified by eventId.

Returns the event recording status of the logged event.

Implementation

static Future<EventRecordStatus> logEvent(String eventId) async {
  if (flurryAgent != null) {
    int eventRecordStatus = await flurryAgent!.logEvent(eventId);
    return EventRecordStatus.values[eventRecordStatus];
  }

  return EventRecordStatus.eventRecorded;
}