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