GameServerSelector constructor
GameServerSelector({
- Map<
String, String> ? matchLabels, - GameServerSelector_GameServerState? gameServerState,
- PlayerSelector? players,
Implementation
factory GameServerSelector({
$core.Map<$core.String, $core.String>? matchLabels,
GameServerSelector_GameServerState? gameServerState,
PlayerSelector? players,
}) {
final _result = create();
if (matchLabels != null) {
_result.matchLabels.addAll(matchLabels);
}
if (gameServerState != null) {
_result.gameServerState = gameServerState;
}
if (players != null) {
_result.players = players;
}
return _result;
}