AccountGameCenter constructor

AccountGameCenter({
  1. String? playerId,
  2. String? bundleId,
  3. Int64? timestampSeconds,
  4. String? salt,
  5. String? signature,
  6. String? publicKeyUrl,
  7. Map<String, String>? vars,
})

Implementation

factory AccountGameCenter({
  $core.String? playerId,
  $core.String? bundleId,
  $fixnum.Int64? timestampSeconds,
  $core.String? salt,
  $core.String? signature,
  $core.String? publicKeyUrl,
  $core.Map<$core.String, $core.String>? vars,
}) {
  final _result = create();
  if (playerId != null) {
    _result.playerId = playerId;
  }
  if (bundleId != null) {
    _result.bundleId = bundleId;
  }
  if (timestampSeconds != null) {
    _result.timestampSeconds = timestampSeconds;
  }
  if (salt != null) {
    _result.salt = salt;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  if (publicKeyUrl != null) {
    _result.publicKeyUrl = publicKeyUrl;
  }
  if (vars != null) {
    _result.vars.addAll(vars);
  }
  return _result;
}