copyWith method
Returns a validated copy with selective overrides.
Implementation
UniformValue copyWith({
double? defaultValue,
double? min,
double? max,
double? value,
}) {
return UniformValue(
defaultValue: defaultValue ?? this.defaultValue,
min: min ?? this.min,
max: max ?? this.max,
value: value ?? this.value,
);
}