copyWith method
Creates a copy of this but with the given fields replaced with the new values.
Implementation
ScaleSettings copyWith({
bool? enabled,
double? minScale,
double? maxScale,
}) {
return ScaleSettings(
enabled: enabled ?? this.enabled,
minScale: minScale ?? this.minScale,
maxScale: maxScale ?? this.maxScale,
);
}