track static method

Future<void> track({
  1. required String eventName,
  2. Map<String, dynamic>? properties,
  3. Map<String, dynamic>? options,
})

Implementation

static Future<void> track({
  required String eventName,
  Map<String, dynamic>? properties,
  Map<String, dynamic>? options,
}) {
  return _segment.track(
    eventName: eventName,
    properties: properties ?? {},
    options: options ?? SegmentDefaultOptions.instance.options ?? {},
  );
}