updateStyle method
- AnnotationStyle update(
- AnnotationStyle current
Rebuilds RangeAnnotation.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
RangeAnnotation updateStyle(
AnnotationStyle Function(AnnotationStyle current) update,
) => copyWith(style: update(style));