IsString constructor
IsString({
- bool isOptional = false,
- required dynamic value,
- String? propertyName,
- String? contains,
- String? notContains,
- bool ignoreCase = false,
- bool isEmail = false,
- bool isUrl = false,
- bool isAlpha = false,
- bool isAlphanumeric = false,
- bool isBase64 = false,
- bool isCreditCard = false,
- bool isDate = false,
- bool isJSON = false,
- bool isLowercase = false,
- bool isUUID = false,
- bool isIP = false,
- bool isUppercase = false,
- List<
String> isIn = const [], - int? length,
- int? maxLen,
- int? minLen,
Implementation
IsString(
{this.isOptional = false,
required this.value,
this.propertyName,
this.contains,
this.notContains,
this.ignoreCase = false,
this.isEmail = false,
this.isUrl = false,
this.isAlpha = false,
this.isAlphanumeric = false,
this.isBase64 = false,
this.isCreditCard = false,
this.isDate = false,
this.isJSON = false,
this.isLowercase = false,
this.isUUID = false,
this.isIP = false,
this.isUppercase = false,
this.isIn = const [],
this.length,
this.maxLen,
this.minLen});