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