DatabaseConfiguration.withConnectionInfo constructor Null safety

DatabaseConfiguration.withConnectionInfo(
  1. String? username,
  2. String? password,
  3. String? host,
  4. int? port,
  5. String? databaseName,
  6. {bool temporary = false}
)

A named constructor that contains all of the properties of this instance.

Implementation

DatabaseConfiguration.withConnectionInfo(
    this.username, this.password, this.host, this.port, this.databaseName,
    {bool temporary = false}) {
  isTemporary = temporary;
}