updateCategoryLabels method

RadialBarChartConfig updateCategoryLabels(
  1. RadialBarCategoryLabelConfig update(
    1. RadialBarCategoryLabelConfig current
    )
)

Rebuilds RadialBarChartConfig.categoryLabels from its current value.

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

Implementation

RadialBarChartConfig updateCategoryLabels(
  RadialBarCategoryLabelConfig Function(RadialBarCategoryLabelConfig current)
  update,
) => copyWith(categoryLabels: update(categoryLabels));