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