updateInteractionStyle method

ScatterChartSeries updateInteractionStyle(
  1. ScatterInteractionStyle update(
    1. ScatterInteractionStyle current
    )
)

Rebuilds ScatterChartSeries.interactionStyle from its current value.

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

Implementation

ScatterChartSeries updateInteractionStyle(
  ScatterInteractionStyle Function(ScatterInteractionStyle current) update,
) => copyWith(interactionStyle: update(interactionStyle));