updateDensityConfig method
- ScatterDensityConfig update(
- ScatterDensityConfig current
Rebuilds ScatterChartSeries.densityConfig from its current value.
update receives the current ScatterDensityConfig and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
ScatterChartSeries updateDensityConfig(
ScatterDensityConfig Function(ScatterDensityConfig current) update,
) => copyWith(densityConfig: update(densityConfig));