trackEvent method
Implementation
@override
Future<void> trackEvent(String eventName, [EnsembleProperties? properties]) async {
_checkInitialization();
if (properties != null) {
_moengagePlugin.trackEvent(eventName, _convertProperties(properties));
} else {
_moengagePlugin.trackEvent(eventName);
}
}