updateValueFormat method
- BarRaceValueFormat update(
- BarRaceValueFormat current
Rebuilds BarRaceConfig.valueFormat from its current value.
update receives the current BarRaceValueFormat and returns the replacement, so
nested configuration is edited without re-stating the enclosing config.
Implementation
BarRaceConfig updateValueFormat(
BarRaceValueFormat Function(BarRaceValueFormat current) update,
) => copyWith(valueFormat: update(valueFormat));