DomainDto constructor

DomainDto({
  1. required String id,
  2. required String userId,
  3. required String domain,
  4. required String verificationToken,
  5. List<String> dkimTokens = const [],
  6. String? missingRecordsMessage,
  7. required bool hasMissingRecords,
  8. required bool isVerified,
  9. List<DomainNameRecord> domainNameRecords = const [],
  10. String? catchAllInboxId,
  11. required DateTime createdAt,
  12. required DateTime updatedAt,
  13. required DomainDtoDomainTypeEnum domainType,
})

Returns a new DomainDto instance.

Implementation

DomainDto({
  required this.id,
  required this.userId,
  required this.domain,
  required this.verificationToken,
  this.dkimTokens = const [],
  this.missingRecordsMessage,
  required this.hasMissingRecords,
  required this.isVerified,
  this.domainNameRecords = const [],
  this.catchAllInboxId,
  required this.createdAt,
  required this.updatedAt,
  required this.domainType,
});