updatePathAnimation method

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

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

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