copyWith method
ChartProps
copyWith({
- List<
ChartPointProps> ? points, - String? title,
- String? description,
- String? color,
Implementation
ChartProps copyWith({
List<ChartPointProps>? points,
String? title,
String? description,
String? color,
}) {
return ChartProps(
points: points ?? this.points,
title: title ?? this.title,
description: description ?? this.description,
color: color ?? this.color,
);
}