TrackEvent constructor

TrackEvent(
  1. String type, [
  2. TrackEventInit? eventInitDict
])

Implementation

factory TrackEvent(String type, [TrackEventInit? eventInitDict]) =>
    TrackEvent._(type, eventInitDict ?? undefined);