setValue method

  1. @override
void setValue(
  1. C category,
  2. num? value
)
override

add or update the value of a specified category. category the pie category. value the pie value.

Implementation

@override
void setValue(C category, num? value) {
  _data[category] = value;
}