RegexModel.minLength constructor

RegexModel.minLength(
  1. int length, {
  2. String? title,
})

At least length characters.

Implementation

factory RegexModel.minLength(int length, {String? title}) => RegexModel(
  title: title ?? RegexLabels.current.minLength(length),
  test: (value) => value.runes.length >= length,
);