trackCustomEvent static method
Implementation
static Future<void> trackCustomEvent(
String eventName, Map<String, String>? eventAttributes) {
Map<String, Object> attributes = Map<String, Object>();
attributes["eventName"] = eventName;
if (eventAttributes != null) {
attributes["eventAttributes"] = eventAttributes;
}
return _channel.invokeMethod('trackCustomEvent', attributes);
}