track static method

Future<void> track(
  1. String eventName, [
  2. double? value
])

Generate an event with the name eventName.

You can optionally associate a numeric value with the event.

Implementation

static Future<void> track(String eventName, [double? value]) async {
  await _channel
      .invokeMethod('track', {"eventName": eventName, "value": value});
}