track method
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
@override
Future<bool> track(String eventType,
{String? trafficType,
double? value,
Map<String, dynamic> properties = const {}}) async {
return _platform.track(
matchingKey: _matchingKey,
bucketingKey: _bucketingKey,
eventType: eventType,
trafficType: trafficType,
value: value,
properties: properties);
}