copyWith method
AroonIndicatorConfig
copyWith({
- int? period,
- LineStyle? upLineStyle,
- LineStyle? downLineStyle,
- int? pipSize,
- bool? showLastIndicator,
- String? title,
- int? number,
override
Creates a copy of this instance with given parameters.
Implementation
@override
AroonIndicatorConfig copyWith({
int? period,
LineStyle? upLineStyle,
LineStyle? downLineStyle,
int? pipSize,
bool? showLastIndicator,
String? title,
int? number,
}) => AroonIndicatorConfig(
period: period ?? this.period,
upLineStyle: upLineStyle ?? this.upLineStyle,
downLineStyle: downLineStyle ?? this.downLineStyle,
pipSize: pipSize ?? this.pipSize,
showLastIndicator: showLastIndicator ?? this.showLastIndicator,
title: title ?? this.title,
number: number ?? this.number,
);