DashValidator class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ List<
DashValidatorValue> -
no setter
Methods
-
addMultiple(
{required List< DashValidatorValue> validators}) → DashValidator -
addSingle(
{required DashValidatorValue validator}) → DashValidator -
compare(
{String errorMessage = compareFieldMessage, bool ignoreCase = false, required String valueToCompare}) → DashValidator -
email(
{String errorMessage = emailFieldMessage}) → DashValidator -
maxLength(
{required String errorMessage, required int length}) → DashValidator -
minLength(
{required String errorMessage, required int length}) → DashValidator -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
range(
{required String errorMessage, required int maxLength, required int minLength}) → DashValidator -
regExp(
{required String errorMessage, required RegExp regexp}) → DashValidator -
required(
{String errorMessage = requiredFieldMessage}) → DashValidator -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
String? value) → String?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited