Settings constructor
Settings({
- bool? default_1,
- @Deprecated('This field is deprecated.') RaceSettings? race,
- SoundSettings? sound,
- StopwatchSettings? stopwatchSettings,
- SecuritySettings? securitySettings,
Implementation
factory Settings({
$core.bool? default_1,
@$core.Deprecated('This field is deprecated.')
$0.RaceSettings? race,
SoundSettings? sound,
StopwatchSettings? stopwatchSettings,
SecuritySettings? securitySettings,
}) {
final $result = create();
if (default_1 != null) {
$result.default_1 = default_1;
}
if (race != null) {
// ignore: deprecated_member_use_from_same_package
$result.race = race;
}
if (sound != null) {
$result.sound = sound;
}
if (stopwatchSettings != null) {
$result.stopwatchSettings = stopwatchSettings;
}
if (securitySettings != null) {
$result.securitySettings = securitySettings;
}
return $result;
}