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