updateTargetMarkerStyle method

BarChartSeries updateTargetMarkerStyle(
  1. BarTargetMarkerStyle update(
    1. BarTargetMarkerStyle current
    )
)

Rebuilds BarChartSeries.targetMarkerStyle from its current value.

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

Implementation

BarChartSeries updateTargetMarkerStyle(
  BarTargetMarkerStyle Function(BarTargetMarkerStyle current) update,
) => copyWith(targetMarkerStyle: update(targetMarkerStyle));