updateLabelConfig method

RangeAreaChartSeries updateLabelConfig(
  1. RangeAreaLabelConfig update(
    1. RangeAreaLabelConfig current
    )
)

Rebuilds RangeAreaChartSeries.labelConfig from its current value.

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

Implementation

RangeAreaChartSeries updateLabelConfig(
  RangeAreaLabelConfig Function(RangeAreaLabelConfig current) update,
) => copyWith(labelConfig: update(labelConfig));