ReqEmail class

Convenience validator for required email fields.

It is the composition between Req and Email.

Constructors

ReqEmail({String? blank, String? mal})
Non-blank and well-formed email values.
ReqEmail.len(int max, {String? blank, String? mal, String? long})
Non-blank, well-formed, and limited-length email values.

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? input) String?
Valid — returns null — if input is a non-blank, well-formed email; otherwise, returns the blank error message if input is null, or the malformed error message if input is malformed.
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