updateThresholdDefaults method

AnnotationTheme updateThresholdDefaults(
  1. ThresholdAnnotationDefaults update(
    1. 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));