denormalize method
Denormalizes a valueNormalized
from range 0..1 to this scale.
Implementation
@override
N denormalize(double valueNormalized) {
var n = (valueNormalized * length) + minimum;
var t = valuesType();
if (t == int) {
return n.toInt() as N;
} else if (t == double) {
return n.toDouble() as N;
} else {
return n as N;
}
}