IsEmailValidator class

IsEmailValidator is metadata validator to check email address

Inheritance

Constructors

IsEmailValidator.new({String? fieldName, String? errorMessage})
const

Properties

defaultErrorMessage String
default error message when errorMessage value is null
no setteroverride
errorMessage String
get error message
no setterinherited
fieldName String?
field name
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
decorator name
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid(dynamic value) bool
implement this function to validate value
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate(dynamic value) String?
inherited

Operators

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