isLengthLessThan static method
Checks if length of data is LESS than maxLength.
Implementation
static bool isLengthLessThan(dynamic value, int maxLength) {
final length = _obtainDynamicLength(value);
if (length == null) {
return false;
}
return length < maxLength;
}