CaptureEvent constructor

CaptureEvent({
  1. String? anonymousId,
  2. String? channel,
  3. ClipBody? clip,
  4. String? currency,
  5. String? distinctId,
  6. String? environment,
  7. ErrorBody? error,
  8. String? event,
  9. String? groupId,
  10. String? groupType,
  11. String? kind,
  12. String? level,
  13. String? library_,
  14. String? libraryVersion,
  15. LogBody? log,
  16. String? messageId,
  17. MetricBody? metric,
  18. String? path,
  19. String? personId,
  20. String? product,
  21. String? productId,
  22. Map<String, Object> properties = const {},
  23. int? quantity,
  24. String? refCode,
  25. String? referrer,
  26. String? release,
  27. String? resource,
  28. num? revenue,
  29. String? service,
  30. String? sessionId,
  31. String? signupWeek,
  32. String? site,
  33. SpanBody? span,
  34. String? spanId,
  35. String? timestamp,
  36. String? traceId,
  37. String? type,
  38. String? url,
  39. UTM? utm,
})

Returns a new CaptureEvent instance.

Implementation

CaptureEvent({
  this.anonymousId,
  this.channel,
  this.clip,
  this.currency,
  this.distinctId,
  this.environment,
  this.error,
  this.event,
  this.groupId,
  this.groupType,
  this.kind,
  this.level,
  this.library_,
  this.libraryVersion,
  this.log,
  this.messageId,
  this.metric,
  this.path,
  this.personId,
  this.product,
  this.productId,
  this.properties = const {},
  this.quantity,
  this.refCode,
  this.referrer,
  this.release,
  this.resource,
  this.revenue,
  this.service,
  this.sessionId,
  this.signupWeek,
  this.site,
  this.span,
  this.spanId,
  this.timestamp,
  this.traceId,
  this.type,
  this.url,
  this.utm,
});