updateDataLabels method
- PieDataLabelConfig update(
- PieDataLabelConfig current
Rebuilds PieChartSeries.dataLabels from its current value.
update receives the current PieDataLabelConfig and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
PieChartSeries updateDataLabels(
PieDataLabelConfig Function(PieDataLabelConfig current) update,
) => copyWith(dataLabels: update(dataLabels));