copyWithLabel method

CirclifyItem copyWithLabel(
  1. String? label
)

Creates a copy with explicitly setting the label (can be null).

Implementation

CirclifyItem copyWithLabel(String? label) {
  return CirclifyItem(
    id: id,
    color: color,
    value: value,
    label: label,
  );
}