isLongerThan static method

bool isLongerThan(
  1. String value,
  2. int maxSize
)

Implementation

static bool isLongerThan(String value, int maxSize) {
  if (value.length > maxSize) {
    return false;
  }
  return true;
}