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