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