updateConnector method

BarWaterfallStyle updateConnector(
  1. BarWaterfallConnectorStyle update(
    1. BarWaterfallConnectorStyle current
    )
)

Rebuilds BarWaterfallStyle.connector from its current value.

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

Implementation

BarWaterfallStyle updateConnector(
  BarWaterfallConnectorStyle Function(BarWaterfallConnectorStyle current)
  update,
) => copyWith(connector: update(connector));