copyWith method
Returns a copy with selected values replaced.
Implementation
KLineVolumeStyle copyWith({
Color? riseColor,
Color? fallColor,
}) {
return KLineVolumeStyle(
riseColor: riseColor ?? this.riseColor,
fallColor: fallColor ?? this.fallColor,
);
}