TealiumEvent constructor

TealiumEvent(
  1. String eventName,
  2. Map<String, Object> dataLayer, {
  3. String type = 'event',
})

Implementation

TealiumEvent(String eventName, Map<String, Object> dataLayer,
    {String type = 'event'}) {
  this.type = type;
  this.eventName = eventName;
  this.dataLayer = dataLayer;
}