isLengthBetween static method
Checks if length of data is BETWEEN minLength to maxLength.
Implementation
static bool isLengthBetween(dynamic value, int minLength, int maxLength) {
if (isNull(value)) {
return false;
}
return isLengthGreaterOrEqual(value, minLength) &&
isLengthLessOrEqual(value, maxLength);
}