updateClusterConfig method

ScatterChartSeries updateClusterConfig(
  1. ScatterClusterConfig update(
    1. ScatterClusterConfig current
    )
)

Rebuilds ScatterChartSeries.clusterConfig from its current value.

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

Implementation

ScatterChartSeries updateClusterConfig(
  ScatterClusterConfig Function(ScatterClusterConfig current) update,
) => copyWith(clusterConfig: update(clusterConfig));