isLength static method

bool isLength(
  1. String? value
)

Implementation

static bool isLength(String? value) {
  return value != null && (
    value == ZERO
    || _lengthRegExp.hasMatch(value)
  );
}