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