weight property
double
get
weight
How much of the goal is laid on, nought to one.
Implementation
double get weight => _weight;
set
weight
(double value)
Implementation
set weight(double value) {
_weight = value.clamp(0.0, 1.0);
_target = _weight;
_rate = 0.0;
}