MysqlProfile constructor

MysqlProfile({
  1. String? hostname,
  2. int? port,
  3. String? username,
  4. MysqlSslConfig? sslConfig,
})

Implementation

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