trackEvent method
Tracks an event with the provided eventName and eventProperties.
This is used to track events in the AppFit dashboard.
Implementation
void trackEvent(
String eventName, {
Map<String, String>? eventProperties,
}) async {
final event = AppFitEvent(name: eventName, properties: eventProperties);
track(event);
}