logCustomEvent method
Logs a custom event to Braze.
Implementation
void logCustomEvent(String eventName, {Map<String, dynamic>? properties}) {
final Map<String, dynamic> params = <String, dynamic>{
"eventName": eventName,
};
if (properties != null) {
// Omits entry when properties is null
params["properties"] = properties;
}
_channel.invokeMethod('logCustomEvent', params);
}