updateAnimation method

HeatmapChartSeries updateAnimation(
  1. HeatmapAnimationStyle update(
    1. HeatmapAnimationStyle current
    )
)

Rebuilds HeatmapChartSeries.animation from its current value.

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

Implementation

HeatmapChartSeries updateAnimation(
  HeatmapAnimationStyle Function(HeatmapAnimationStyle current) update,
) => copyWith(animation: update(animation));