logEvent method

void logEvent({
  1. required String name,
  2. Map<String, Object?>? parameters,
  3. AnalyticsCallOptions? callOptions,
})

Implementation

void logEvent({
  required String name,
  Map<String, Object?>? parameters,
  AnalyticsCallOptions? callOptions,
}) {
  return analytics_interop.logEvent(
    jsObject,
    name.toJS,
    parameters?.jsify(),
    callOptions?.asMap().jsify() as JSObject?,
  );
}