Project constructor

Project({
  1. String? id,
  2. String? organizationId,
  3. String? ownerUserId,
  4. String? name,
  5. String? privateKey,
  6. bool? privateKeySecured,
  7. Timestamp? createdAt,
  8. Timestamp? updatedAt,
  9. Timestamp? privateKeyGeneratedAt,
  10. Timestamp? privateKeySecuredAt,
  11. String? publicKey,
  12. CloudLocation? location,
  13. String? organizationName,
})

Implementation

factory Project({
  $core.String? id,
  $core.String? organizationId,
  $core.String? ownerUserId,
  $core.String? name,
  $core.String? privateKey,
  $core.bool? privateKeySecured,
  $1.Timestamp? createdAt,
  $1.Timestamp? updatedAt,
  $1.Timestamp? privateKeyGeneratedAt,
  $1.Timestamp? privateKeySecuredAt,
  $core.String? logo,
  $core.String? publicKey,
  CloudLocation? location,
  $core.String? organizationName,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (organizationId != null) {
    _result.organizationId = organizationId;
  }
  if (ownerUserId != null) {
    _result.ownerUserId = ownerUserId;
  }
  if (name != null) {
    _result.name = name;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (privateKeySecured != null) {
    _result.privateKeySecured = privateKeySecured;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  if (privateKeyGeneratedAt != null) {
    _result.privateKeyGeneratedAt = privateKeyGeneratedAt;
  }
  if (privateKeySecuredAt != null) {
    _result.privateKeySecuredAt = privateKeySecuredAt;
  }
  if (logo != null) {
    _result.logo = logo;
  }
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  if (location != null) {
    _result.location = location;
  }
  if (organizationName != null) {
    _result.organizationName = organizationName;
  }
  return _result;
}