track abstract method

Future<bool> track(
  1. String eventType, {
  2. String? trafficType,
  3. double? value,
  4. Map<String, dynamic> properties = const {},
})

Enqueue a new event to be sent to Split data collection services.

eventType is a String representing the event type.

trafficType optionally specifies which traffic type this event belongs to.

A value can be specified if desired.

A Map of custom properties can be specified in properties.

Implementation

Future<bool> track(String eventType,
    {String? trafficType,
    double? value,
    Map<String, dynamic> properties = const {}});