track method

void track(
  1. String eventName, {
  2. RudderProperty? properties,
  3. RudderOption? options,
})

Records user actions and events with optional properties.

This is the core method for event tracking.

eventName - The name of the event being tracked (e.g., "Button Clicked", "Purchase Completed"). properties - Optional event properties providing additional context. options - Optional per-call options (custom context, integrations, etc.).

Implementation

void track(String eventName,
    {RudderProperty? properties, RudderOption? options}) {
  throw UnimplementedError(
      'track(String eventName,{RudderProperty? properties, '
      'RudderOption? options}) has not been implemented.');
}