updateStyle method

CartesianValueSummaryConfig updateStyle(
  1. CartesianValueSummaryStyle update(
    1. CartesianValueSummaryStyle current
    )
)

Rebuilds CartesianValueSummaryConfig.style from its current value.

update receives the current CartesianValueSummaryStyle and returns the replacement, so nested configuration is edited without re-stating the enclosing config.

Implementation

CartesianValueSummaryConfig updateStyle(
  CartesianValueSummaryStyle Function(CartesianValueSummaryStyle current)
  update,
) => copyWith(style: update(style));