DfStringValidator class

Inheritance

Constructors

DfStringValidator({bool isAllowEmpty = true, int minLen, int maxLen, bool isEmail = false, bool isAlphaOnly = false, bool isAlphaAndSpaceOnly = false, bool isDigit = false, bool isNumeric = false, bool isAlphaDigit = false, bool isAlphaAndSpaceAndDigitOnly = false, String customRegExprValidate})

Properties

customRegExprValidate String
read / write
field DfBaseField
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isAllowEmpty bool
read / write, inherited
isAlphaAndSpaceAndDigitOnly bool
read / write
isAlphaAndSpaceOnly bool
read / write
isAlphaDigit bool
read / write
isAlphaOnly bool
read / write
isDigit bool
read / write
isEmail bool
read / write
isNumeric bool
read / write
listSize DfValidatorListSize
read / write, inherited
maxLen int
read / write
minLen int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

alphaDigitValidate() AlphaDigitValidateException
alphaSpaceDigitValidate() AlphaSpaceDigitValidateException
alphaSpaceValidate() AlphaSpaceValidateException
alphaValidate() AlphaValidateException
customInputValidate() CustomInputValidateException
digitValidate() DigitValidateException
emailValidate() EmailValidateException
emptyValidate() AllowEmptyValidateException
inherited
listSizeValidate() ListSizeValidateException
inherited
maxLenValidate() MaxLenValidateException
minLenValidate() MinLenValidateException
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
numericValidate() NumericValidateException
toString() String
A string representation of this object. [...]
inherited
validate() List<DfError>
override

Operators

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