exceedLength function

bool exceedLength(
  1. String? input,
  2. int length
)

检查字符长度

Implementation

bool exceedLength(String? input, int length) {
  if (input == null || input.isEmpty) return false;
  return input.length >= length;
}