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