updateReferences method

GaugeChartConfig updateReferences(
  1. GaugeReferenceStyle update(
    1. GaugeReferenceStyle current
    )
)

Rebuilds GaugeChartConfig.references from its current value.

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

Implementation

GaugeChartConfig updateReferences(
  GaugeReferenceStyle Function(GaugeReferenceStyle current) update,
) => copyWith(references: update(references));