updateReferences method
- GaugeReferenceStyle update(
- 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));