ContactDto constructor

ContactDto({
  1. required String id,
  2. String? groupId,
  3. String? firstName,
  4. String? lastName,
  5. String? company,
  6. List<String> emailAddresses = const [],
  7. String? primaryEmailAddress,
  8. List<String> tags = const [],
  9. Object? metaData,
  10. bool? optOut,
  11. required DateTime createdAt,
})

Returns a new ContactDto instance.

Implementation

ContactDto({
  required this.id,
  this.groupId,
  this.firstName,
  this.lastName,
  this.company,
  this.emailAddresses = const [],
  this.primaryEmailAddress,
  this.tags = const [],
  this.metaData,
  this.optOut,
  required this.createdAt,
});