isInRange static method
Validates that size is within the specified range.
Implementation
static bool isInRange(
ByteConverter size, {
required ByteConverter min,
required ByteConverter max,
}) {
return size.bytes >= min.bytes && size.bytes <= max.bytes;
}