void checkRange((int, int) range) { if (range.$1 > range.$2) { throw RangeError.range(range.$2, range.$1, null); } }