ValidationDetails class
Detailed validation information for an email address.
This class contains the results of various validation checks performed on an email address. It's used internally and exposed through SingleValidationResponse.
Constructors
- ValidationDetails({required bool syntax, required bool domain, required bool mx, required bool disposable, required bool role, required bool free})
-
const
-
ValidationDetails.fromJson(Map<
String, dynamic> json) -
factory
Properties
- disposable → bool
-
Whether the email is from a disposable/temporary email service.
final
- domain → bool
-
Whether the domain exists and is valid.
final
- free → bool
-
Whether the email is from a free email provider.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mx → bool
-
Whether the domain has MX (Mail Exchange) records.
final
- role → bool
-
Whether the email is a role-based address (e.g., info@, admin@).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syntax → bool
-
Whether the email syntax is valid according to RFC standards.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited