trackEvent method

Future trackEvent (
  1. String name,
  2. [Map<String, String> properties]
)

Implementation

static Future trackEvent(String name, [Map<String, String> properties]) =>
    _channel.invokeMethod('trackEvent', <String, dynamic>{
      'name': name,
      'properties': properties ?? <String, String>{},
    });