GameServer constructor

GameServer({
  1. GameServer_ObjectMeta? objectMeta,
  2. GameServer_Spec? spec,
  3. GameServer_Status? status,
})

Implementation

factory GameServer({
  GameServer_ObjectMeta? objectMeta,
  GameServer_Spec? spec,
  GameServer_Status? status,
}) {
  final _result = create();
  if (objectMeta != null) {
    _result.objectMeta = objectMeta;
  }
  if (spec != null) {
    _result.spec = spec;
  }
  if (status != null) {
    _result.status = status;
  }
  return _result;
}