updateErrorBarStyle method

BarChartSeries updateErrorBarStyle(
  1. BarErrorBarStyle update(
    1. BarErrorBarStyle current
    )
)

Rebuilds BarChartSeries.errorBarStyle from its current value.

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

Implementation

BarChartSeries updateErrorBarStyle(
  BarErrorBarStyle Function(BarErrorBarStyle current) update,
) => copyWith(errorBarStyle: update(errorBarStyle));