percent property

double get percent

Implementation

double get percent => (((value.clamp(min, max)) - min) / ((max - min)));