minLength static method

bool minLength(
  1. String value,
  2. int minLength
)

Implementation

static bool minLength(String value, int minLength) {
  if (value.length < minLength) {
    return true;
  } else {
    return false;
  }
}