Event constructor

Event({
  1. AdIdentifiers? adIdentifiers,
  2. List<EventParameter>? additionalEventParameters,
  3. CartData? cartData,
  4. String? clientId,
  5. Consent? consent,
  6. double? conversionValue,
  7. String? currency,
  8. List<CustomVariable>? customVariables,
  9. List<String>? destinationReferences,
  10. DeviceInfo? eventDeviceInfo,
  11. String? eventName,
  12. String? eventSource,
  13. String? eventTimestamp,
  14. List<ExperimentalField>? experimentalFields,
  15. String? lastUpdatedTimestamp,
  16. String? transactionId,
  17. UserData? userData,
  18. String? userId,
  19. UserProperties? userProperties,
})

Implementation

Event({
  this.adIdentifiers,
  this.additionalEventParameters,
  this.cartData,
  this.clientId,
  this.consent,
  this.conversionValue,
  this.currency,
  this.customVariables,
  this.destinationReferences,
  this.eventDeviceInfo,
  this.eventName,
  this.eventSource,
  this.eventTimestamp,
  this.experimentalFields,
  this.lastUpdatedTimestamp,
  this.transactionId,
  this.userData,
  this.userId,
  this.userProperties,
});