PostgresqlProfile constructor

PostgresqlProfile({
  1. String? hostname,
  2. int? port,
  3. String? username,
  4. String? database,
})

Implementation

factory PostgresqlProfile({
  $core.String? hostname,
  $core.int? port,
  $core.String? username,
  $core.String? database,
}) {
  final $result = create();
  if (hostname != null) {
    $result.hostname = hostname;
  }
  if (port != null) {
    $result.port = port;
  }
  if (username != null) {
    $result.username = username;
  }
  if (database != null) {
    $result.database = database;
  }
  return $result;
}