Validator class

Constructors

Validator.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

isEmailValid(String field) String?
isEmptyValue(String field) String?
isPasswordStrong(String field) String?
isRequired(String field) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateField(List<dynamic Function(String)> validators, String field, dynamic onSuccess(String), dynamic onError(String)) → void

Operators

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