isBetween method
Checks if this double is between min and max (inclusive).
Example:
double value = 50.5;
bool isInRange = value.isBetween(0.0, 100.0); // true
Implementation
bool isBetween(double min, double max) => this >= min && this <= max;