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