copyWith method

CirclifyItem copyWith({
  1. Color? color,
  2. double? value,
  3. String? label,
})

Implementation

CirclifyItem copyWith({
  Color? color,
  double? value,
  String? label,
}) {
  return CirclifyItem(
    id: id,
    color: color ?? this.color,
    value: value ?? this.value,
    label: label ?? this.label,
  );
}