updateGrid method

ChartSelectionBrushStyle updateGrid(
  1. ChartSelectionBrushGridStyle update(
    1. ChartSelectionBrushGridStyle current
    )
)

Rebuilds ChartSelectionBrushStyle.grid from its current value.

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

Implementation

ChartSelectionBrushStyle updateGrid(
  ChartSelectionBrushGridStyle Function(ChartSelectionBrushGridStyle current)
  update,
) => copyWith(grid: update(grid));