track method
Tracks an event with the given eventName and optional properties.
eventName is the name of the event to track.
properties contains additional data about the event.
options allows you to specify additional options for this call.
This is the primary method for recording user actions and events.
Implementation
void track(String eventName,
{RudderProperty? properties, RudderOption? options}) {
RudderSdkPlatform.instance
.track(eventName, properties: properties, options: options);
}