inMargin static method
Dtermines if a value is between a marginal range from the value
Implementation
static bool inMargin(double? value, double? start, double? margin){
assert(start != null);
assert(margin != null);
if(value == null){
return false;
}
return Functions.isWithin(value, start! - margin!, start+ margin);
}