DomainPreview class

Constructors

DomainPreview({required String id, required String domain, String? catchAllInboxId, required DateTime createdAt, required DomainPreviewDomainTypeEnum domainType, required bool isVerified, required bool hasMissingRecords})
Returns a new DomainPreview instance.

Properties

catchAllInboxId String?
getter/setter pair
createdAt DateTime
getter/setter pair
domain String
getter/setter pair
domainType DomainPreviewDomainTypeEnum
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
getter/setter pair
id String
getter/setter pair
isVerified bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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