trackEvent static method

void trackEvent({
  1. required String eventType,
  2. Map<String, dynamic>? properties,
})

Implementation

static void trackEvent(
    {required String eventType, Map<String, dynamic>? properties}) {
  _channel.invokeMethod(
      'trackEvent', {'type': eventType, 'props': properties, 'flush': false});
}