trackEvent method
Implementation
Future<bool?> trackEvent(
String eventType, String trafficType, Map<String, dynamic> props) async {
return await _channel.invokeMethod('trackEvent', {
'trafficType': trafficType,
'eventType': eventType,
'attributes': props
});
}