PostEventRequest constructor

PostEventRequest({
  1. String? distinctId,
  2. String? event,
  3. Map<String, Object> properties = const {},
  4. String? time,
  5. String? type,
  6. List<InsightsEvent> batch = const [],
  7. List<CaptureEvent> events = const [],
  8. String? distinctIdLegacy,
  9. String? timestamp,
  10. String? uuid,
})

Returns a new PostEventRequest instance.

Implementation

PostEventRequest({
  this.distinctId,
  this.event,
  this.properties = const {},
  this.time,
  this.type,
  this.batch = const [],
  this.events = const [],
  this.distinctIdLegacy,
  this.timestamp,
  this.uuid,
});