Event constructor

Event({
  1. String? distinctId,
  2. String? event,
  3. Map<String, Object> properties = const {},
  4. String? time,
  5. String? type,
})

Returns a new Event instance.

Implementation

Event({
  this.distinctId,
  this.event,
  this.properties = const {},
  this.time,
  this.type,
});