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