PostgisDb constructor

PostgisDb(
  1. String _host,
  2. String _dbName, {
  3. int port = 5432,
  4. String? user,
  5. String? pwd,
})

Implementation

PostgisDb(
  this._host,
  this._dbName, {
  this.port = 5432,
  this.user,
  this.pwd,
}) {
  _postgresDb =
      PostgresqlDb(_host, _dbName, port: port, user: user, pwd: pwd);
  jdbcUrl = 'jdbc:postgresql://$_host:$port/$_dbName';
}