track static method

Future<void> track(
  1. String eventName,
  2. Map<String, dynamic>? properties,
  3. Map<String, dynamic>? otherIds
)

Implementation

static Future<void> track(String eventName, Map<String, dynamic>? properties,
    Map<String, dynamic>? otherIds) async {
  await methodChannel.invokeMethod('track', <String, dynamic>{
    'eventName': eventName,
    'properties': properties ?? {},
    'otherIds': otherIds ?? {}
  });
}