isSmallerThan static method

bool isSmallerThan(
  1. String value,
  2. int minSize
)

Implementation

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