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