ValidaString constructor

const ValidaString({
  1. List<String>? isIn,
  2. int? maxLength,
  3. int? minLength,
  4. bool? isPhone,
  5. bool? isEmail,
  6. bool? isDate,
  7. bool? isTime,
  8. bool? isBool,
  9. bool? isNum,
  10. bool? isUrl,
  11. UUIDVersion? isUUID,
  12. bool? isCurrency,
  13. bool? isJSON,
  14. String? matches,
  15. String? contains,
  16. bool? isAlpha,
  17. bool? isAlphanumeric,
  18. bool? isLowercase,
  19. bool? isUppercase,
  20. bool? isAscii,
  21. bool? isBase64,
  22. bool? isCreditCard,
  23. int? isDivisibleBy,
  24. int? surrogatePairsLengthMin,
  25. int? surrogatePairsLengthMax,
  26. bool? isFQDN,
  27. bool? isHexadecimal,
  28. bool? isHexColor,
  29. bool? isInt,
  30. bool? isFloat,
  31. ISBNVersion? isISBN,
  32. IPVersion? isIP,
  33. List<ValidaError> customValidate(
    1. String
    )?,
  34. 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,
});