copyWith method
Implementation
ChartInteractionOptions copyWith({
bool? showTooltip,
bool? showActiveElement,
}) {
return ChartInteractionOptions(
showTooltip: showTooltip ?? this.showTooltip,
showActiveElement: showActiveElement ?? this.showActiveElement,
);
}