WebhookNewContactPayload constructor
WebhookNewContactPayload({
- required String messageId,
- required String webhookId,
- String? webhookName,
- required WebhookNewContactPayloadEventNameEnum eventName,
- required String contactId,
- String? groupId,
- String? firstName,
- String? lastName,
- String? company,
- String? primaryEmailAddress,
- List<
String> emailAddresses = const [], - List<
String> tags = const [], - Object? metaData,
- required bool optOut,
- required DateTime createdAt,
Returns a new WebhookNewContactPayload instance.
Implementation
WebhookNewContactPayload({
required this.messageId,
required this.webhookId,
this.webhookName,
required this.eventName,
required this.contactId,
this.groupId,
this.firstName,
this.lastName,
this.company,
this.primaryEmailAddress,
this.emailAddresses = const [],
this.tags = const [],
this.metaData,
required this.optOut,
required this.createdAt,
});