updateLabelStyle method

PointAnnotationDefaults updateLabelStyle(
  1. LabelStyle update(
    1. LabelStyle current
    )
)

Rebuilds PointAnnotationDefaults.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

PointAnnotationDefaults updateLabelStyle(
  LabelStyle Function(LabelStyle current) update,
) => copyWith(labelStyle: update(labelStyle));