trackEvent method
Tracks an event with the given attributes.
eventName
- Name of the Event to be tracked
eventAttributes
- Instance of MoEProperties
Implementation
void trackEvent(String eventName, [MoEProperties? eventAttributes]) {
eventAttributes ??= MoEProperties();
_platform.trackEvent(eventName, eventAttributes, appId);
}