MySqlConnectionProfile constructor

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

Implementation

factory MySqlConnectionProfile({
  $core.String? host,
  $core.int? port,
  $core.String? username,
  $core.bool? passwordSet,
  SslConfig? ssl,
  $core.String? cloudSqlId,
}) {
  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;
  }
  return $result;
}