updatePresentation method

CartesianValueSummaryConfig updatePresentation(
  1. CartesianValueSummaryPresentation update(
    1. CartesianValueSummaryPresentation current
    )
)

Rebuilds CartesianValueSummaryConfig.presentation from its current value.

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

Implementation

CartesianValueSummaryConfig updatePresentation(
  CartesianValueSummaryPresentation Function(
    CartesianValueSummaryPresentation current,
  )
  update,
) => copyWith(presentation: update(presentation));