ChartValue constructor
Holds the data for a single value represented in a Chart.
Implementation
const factory ChartValue({
/// The name of the value.
required String name,
/// The value itself.
required double value,
/// The percentage of the value compared to the total.
required double percentage,
/// The color of the value.
required Color color,
}) = _ChartValue;