DomainDto class

Constructors

DomainDto({required String id, required String userId, required String domain, required String verificationToken, List<String> dkimTokens = const [], String? missingRecordsMessage, required bool hasMissingRecords, required bool isVerified, List<DomainNameRecord> domainNameRecords = const [], String? catchAllInboxId, required DateTime createdAt, required DateTime updatedAt, required DomainDtoDomainTypeEnum domainType})
Returns a new DomainDto instance.

Properties

catchAllInboxId String?
The optional catch all inbox that will receive emails sent to the domain that cannot be matched.
getter/setter pair
createdAt DateTime
getter/setter pair
dkimTokens List<String>
Unique token DKIM tokens
getter/setter pair
domain String
Custom domain name
getter/setter pair
domainNameRecords List<DomainNameRecord>
List of DNS domain name records (C, MX, TXT) etc that you must add to the DNS server associated with your domain provider.
getter/setter pair
domainType DomainDtoDomainTypeEnum
Type of domain. Dictates type of inbox that can be created with domain. HTTP means inboxes are processed using SES while SMTP inboxes use a custom SMTP mail server. SMTP does not support sending so use HTTP for sending emails.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hasMissingRecords bool
Whether the domain has missing required records. If true then see the domain in the dashboard app.
getter/setter pair
id String
getter/setter pair
isVerified bool
Whether domain has been verified or not. If the domain is not verified after 72 hours there is most likely an issue with the domains DNS records.
getter/setter pair
missingRecordsMessage String?
If the domain is missing records then show which pairs are missing.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime
getter/setter pair
userId String
getter/setter pair
verificationToken String
Verification tokens
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) DomainDto?
Returns a new DomainDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<DomainDto>
mapFromJson(dynamic json) Map<String, DomainDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<DomainDto>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.