minLength method
requires the value to hava minimum length
Implementation
StringType minLength(int length) {
test<String> (
type: String,
name: "minLength",
params: {
"minLength": length
},
check: (s) => s.length >= length,
);
return this;
}