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