updateWebStyle method

RadarChartConfig updateWebStyle(
  1. RadarWebStyle update(
    1. RadarWebStyle current
    )
)

Rebuilds RadarChartConfig.webStyle from its current value.

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

Implementation

RadarChartConfig updateWebStyle(
  RadarWebStyle Function(RadarWebStyle current) update,
) => copyWith(webStyle: update(webStyle));