track method

Future<void> track(
  1. Event event, {
  2. List<SelfDescribing>? contexts,
})

Tracks the given event with optional context entities.

Implementation

Future<void> track(Event event, {List<SelfDescribing>? contexts}) async {
  await Snowplow.track(event, tracker: namespace, contexts: contexts);
}