isLength static method

bool isLength(
  1. String? value
)

Implementation

static bool isLength(String? value) {
  if (value == null) return false;
  if (value == ZERO) return true;
  return _tryParseLengthToken(value) != null;
}