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