logEvent static method
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;
}