ValidationResponse class
Constructors
ValidationResponse ({required String schemaVersion , required String email , required ValidationResponseStatusEnum status , required ValidationResponseActionEnum action , ValidationResponseSubStatusEnum ? subStatus , required String domain , required bool mxFound , String ? mxHost , bool ? smtpCheck , bool ? catchAll , required bool disposable , required bool roleAccount , required bool freeProvider , required ValidationResponseDepthEnum depth , required DateTime processedAt , String ? suggestedEmail , int ? retryAfterMs , ValidationResponseSuppressionMatch ? suppressionMatch , ValidationResponsePolicyApplied ? policyApplied })
Returns a new ValidationResponse instance.
Properties
action
↔ ValidationResponseActionEnum
Recommended action
getter/setter pair
catchAll
↔ bool ?
Whether domain is catch-all. Omitted when SMTP not checked.
getter/setter pair
depth
↔ ValidationResponseDepthEnum
Validation depth used for this check
getter/setter pair
disposable
↔ bool
Whether domain is a known disposable email provider
getter/setter pair
domain
↔ String
getter/setter pair
email
↔ String
getter/setter pair
freeProvider
↔ bool
Whether domain is a known free email provider (e.g., gmail.com)
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter override
mxFound
↔ bool
Whether MX records were found for the domain
getter/setter pair
mxHost
↔ String ?
Primary MX hostname. Omitted when MX not resolved.
getter/setter pair
policyApplied
↔ ValidationResponsePolicyApplied ?
Please note: This property should have been non-nullable! Since the specification file
does not include a default value (using the "default:" property), however, the generated
source code must fall back to having a nullable type.
Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
processedAt
↔ DateTime
ISO 8601 timestamp of validation
getter/setter pair
retryAfterMs
↔ int ?
Suggested retry delay in milliseconds. Present only for retry_later action.
getter/setter pair
roleAccount
↔ bool
Whether address is a role account (e.g., info@, admin@)
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
schemaVersion
↔ String
getter/setter pair
smtpCheck
↔ bool ?
Whether SMTP verification passed. Omitted when SMTP not checked.
getter/setter pair
status
↔ ValidationResponseStatusEnum
Validation status
getter/setter pair
subStatus
↔ ValidationResponseSubStatusEnum ?
Detailed status reason. Omitted when none.
getter/setter pair
suggestedEmail
↔ String ?
Typo correction suggestion. Omitted when no typo detected.
getter/setter pair
suppressionMatch
↔ ValidationResponseSuppressionMatch ?
Please note: This property should have been non-nullable! Since the specification file
does not include a default value (using the "default:" property), however, the generated
source code must fall back to having a nullable type.
Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair