isWithin static method
Dtermines if a value is between a range
Implementation
static bool isWithin(double? value, double? start, double? end){
assert(start != null);
assert(end != null);
if(value == null){
return false;
}
return value >= start! && value <= end!;
}