setProperties method
void
setProperties()
Implementation
void setProperties(String server, int port, String dbName, String userName,
String password, String connectionDriver) {
_connectionDriver = connectionDriver;
if (_connectionDriver == 'postgresql') {
PostgreSQLConnection connection = PostgreSQLConnection(
server,
port,
dbName,
username: userName,
password: password,
);
_postgres = PostgresDartnateDatabase();
_postgres.connection = connection;
}
}