Validators class

Constructors

Validators.new()

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

date(String? value, {String? errorMessage}) String?
email(String? value, {String? errorMessage}) String?
match<T>(T? value, T? compareTo, {String? errorMessage}) String?
matchRegex(String? value, String pattern, {String? errorMessage}) String?
maximum(num? value, num max, {String? errorMessage}) String?
maxLength(String? value, int maxLength, {String? errorMessage}) String?
minimum(num? value, num min, {String? errorMessage}) String?
minLength(String? value, int minLength, {String? errorMessage}) String?
number(String? value, {String? errorMessage}) String?
password(String? value, {String? errorMessage}) String?
phone(String? value, {String? errorMessage}) String?
required(String? value, {String? errorMessage}) String?
url(String? value, {String? errorMessage}) String?