notEmpty method
requires the value to be non empty
Implementation
StringType notEmpty() {
test<String>(
type: String,
name: "notEmpty",
check: (s) => s.isNotEmpty,
);
return this;
}
requires the value to be non empty
StringType notEmpty() {
test<String>(
type: String,
name: "notEmpty",
check: (s) => s.isNotEmpty,
);
return this;
}