updatePathAnimation method

AreaChartSeries updatePathAnimation(
  1. PathAnimationStyle update(
    1. PathAnimationStyle current
    )
)

Rebuilds AreaChartSeries.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

AreaChartSeries updatePathAnimation(
  PathAnimationStyle Function(PathAnimationStyle current) update,
) => copyWith(pathAnimation: update(pathAnimation));