GameServer_Status constructor

GameServer_Status({
  1. String? state,
  2. String? address,
  3. Iterable<GameServer_Status_Port>? ports,
  4. GameServer_Status_PlayerStatus? players,
})

Implementation

factory GameServer_Status({
  $core.String? state,
  $core.String? address,
  $core.Iterable<GameServer_Status_Port>? ports,
  GameServer_Status_PlayerStatus? players,
}) {
  final _result = create();
  if (state != null) {
    _result.state = state;
  }
  if (address != null) {
    _result.address = address;
  }
  if (ports != null) {
    _result.ports.addAll(ports);
  }
  if (players != null) {
    _result.players = players;
  }
  return _result;
}