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