PostgreSqlConnectionProfile constructor

PostgreSqlConnectionProfile({
  1. String? host,
  2. int? port,
  3. String? username,
  4. bool? passwordSet,
  5. SslConfig? ssl,
  6. String? cloudSqlId,
  7. NetworkArchitecture? networkArchitecture,
})

Implementation

factory PostgreSqlConnectionProfile({
  $core.String? host,
  $core.int? port,
  $core.String? username,
  $core.bool? passwordSet,
  SslConfig? ssl,
  $core.String? cloudSqlId,
  NetworkArchitecture? networkArchitecture,
}) {
  final $result = create();
  if (host != null) {
    $result.host = host;
  }
  if (port != null) {
    $result.port = port;
  }
  if (username != null) {
    $result.username = username;
  }
  if (passwordSet != null) {
    $result.passwordSet = passwordSet;
  }
  if (ssl != null) {
    $result.ssl = ssl;
  }
  if (cloudSqlId != null) {
    $result.cloudSqlId = cloudSqlId;
  }
  if (networkArchitecture != null) {
    $result.networkArchitecture = networkArchitecture;
  }
  return $result;
}