updatePane method

GaugeChartConfig updatePane(
  1. PolarPaneConfig update(
    1. PolarPaneConfig current
    )
)

Rebuilds GaugeChartConfig.pane from its current value.

update receives the current PolarPaneConfig and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

GaugeChartConfig updatePane(
  PolarPaneConfig Function(PolarPaneConfig current) update,
) => copyWith(pane: update(pane));