updateCandlestickStyle method

CandlestickChartSeries updateCandlestickStyle(
  1. CandlestickChartStyle update(
    1. CandlestickChartStyle current
    )
)

Rebuilds CandlestickChartSeries.candlestickStyle from its current value.

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

Implementation

CandlestickChartSeries updateCandlestickStyle(
  CandlestickChartStyle Function(CandlestickChartStyle current) update,
) => copyWith(candlestickStyle: update(candlestickStyle));