ValidaString constructor
const
ValidaString({
- List<
String> ? isIn, - int? maxLength,
- int? minLength,
- bool? isPhone,
- bool? isEmail,
- bool? isDate,
- bool? isTime,
- bool? isBool,
- bool? isNum,
- bool? isUrl,
- UUIDVersion? isUUID,
- bool? isCurrency,
- bool? isJSON,
- String? matches,
- String? contains,
- bool? isAlpha,
- bool? isAlphanumeric,
- bool? isLowercase,
- bool? isUppercase,
- bool? isAscii,
- bool? isBase64,
- bool? isCreditCard,
- int? isDivisibleBy,
- int? surrogatePairsLengthMin,
- int? surrogatePairsLengthMax,
- bool? isFQDN,
- bool? isHexadecimal,
- bool? isHexColor,
- bool? isInt,
- bool? isFloat,
- ISBNVersion? isISBN,
- IPVersion? isIP,
- List<
ValidaError> customValidate()?, - String? customValidateName,
Implementation
const ValidaString({
this.isIn,
this.maxLength,
this.minLength,
this.isPhone,
this.isEmail,
this.isDate,
this.isTime,
this.isBool,
this.isNum,
this.isUrl,
this.isUUID,
this.isCurrency,
this.isJSON,
this.matches,
this.contains,
this.isAlpha,
this.isAlphanumeric,
this.isLowercase,
this.isUppercase,
//
this.isAscii,
this.isBase64,
this.isCreditCard,
this.isDivisibleBy,
this.surrogatePairsLengthMin,
this.surrogatePairsLengthMax,
this.isFQDN,
this.isHexadecimal,
this.isHexColor,
this.isInt,
this.isFloat,
this.isISBN,
this.isIP,
//
this.customValidate,
this.customValidateName,
});