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