track static method

void track(
  1. String eventName, [
  2. Map<String, Object?>? properties
])

Implementation

static void track(String eventName, [Map<String, Object?>? properties]) {
  _channel.invokeMethod(
      "track", {"eventName": eventName, "properties": properties});
}