Email class

Validator of optional e-mail values.

Blank field - null value - is a valid input!

If the email address is required, see ReqEmail or Req.

Constructors

Email({String? mal})
Validates email addresses using a regular expression that is suitable for manually entered emails.
Email.len(int len, {String? mal, String? long})
Validates an optional email address and limits its length to up to len characters.

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

call(String? email) String?
Valid - returns null - if email is either well-formed or null.
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