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