double clampValue(double min, double max) { if (this == null) return min; return this!.clamp(min, max); }