SocketMessage constructor
SocketMessage({
- RaceFullState? raceFullState,
- Command? command,
- Settings? settings,
Implementation
factory SocketMessage({
$0.RaceFullState? raceFullState,
$1.Command? command,
$2.Settings? settings,
}) {
final $result = create();
if (raceFullState != null) {
$result.raceFullState = raceFullState;
}
if (command != null) {
$result.command = command;
}
if (settings != null) {
$result.settings = settings;
}
return $result;
}