EmailXValidator class

The EmailValidator entry point

To use the EmailValidator class, call EmailXValidator.validate. Each call runs on a fresh _EmailParser, so no parser state is shared between calls.

Constructors

EmailXValidator()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

validate(String email, [bool allowTopLevelDomains = false, bool allowInternational = true]) → bool
Validate the specified email address.