track static method
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});
}