checkNumberRange method
Implementation
void checkNumberRange(BigInt value, BigInt minValue, BigInt maxValue, [String? message]) {
if (value > maxValue || value < minValue) {
throw ArgumentError(message ?? "Value is out of range");
}
}
void checkNumberRange(BigInt value, BigInt minValue, BigInt maxValue, [String? message]) {
if (value > maxValue || value < minValue) {
throw ArgumentError(message ?? "Value is out of range");
}
}