updateWaterfallStyle method

BarChartSeries updateWaterfallStyle(
  1. BarWaterfallStyle update(
    1. BarWaterfallStyle current
    )
)

Rebuilds BarChartSeries.waterfallStyle from its current value.

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

Implementation

BarChartSeries updateWaterfallStyle(
  BarWaterfallStyle Function(BarWaterfallStyle current) update,
) => copyWith(waterfallStyle: update(waterfallStyle));