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