isLengthBetween method
Checks if length of double value is BETWEEN minLength to max.
Parameters
min
: The minimum lengthmax
: The maximum length
Returns
true
if the length of this value is between the minimum and maximum lengthfalse
otherwise
Implementation
bool isLengthBetween(int min, int max) => isLengthGreaterThanOrEqualTo(min) && isLengthLessThanOrEqualTo(max);