trackEvent method

Future<void> trackEvent(
  1. String eventName,
  2. Map<String, dynamic> eventData
)

Implementation

Future<void> trackEvent(
    String eventName, Map<String, dynamic> eventData) async {
  await _channel.invokeMethod(
      "trackEvent", {"event_name": eventName, "event_data": eventData});
}