updateContent method

CartesianValueSummaryConfig updateContent(
  1. CartesianValueSummaryContent update(
    1. CartesianValueSummaryContent current
    )
)

Rebuilds CartesianValueSummaryConfig.content from its current value.

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

Implementation

CartesianValueSummaryConfig updateContent(
  CartesianValueSummaryContent Function(CartesianValueSummaryContent current)
  update,
) => copyWith(content: update(content));