updateTotalFormat method
- BarRaceValueFormat update(
- BarRaceValueFormat current
Rebuilds BarRaceConfig.totalFormat 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 updateTotalFormat(
BarRaceValueFormat Function(BarRaceValueFormat current) update,
) => copyWith(totalFormat: update(totalFormat));