connect method
Implementation
Future<Process> connect({
required String user,
required String database,
String? host,
int? port,
String? password,
bool inheritStdio = false,
}) {
return startProcess(
[
if (null != host) "--host=$host",
if (null != port) "--port=$port",
"--user=$user",
if (null != password) "--password=$password",
database,
],
mode: inheritStdio
? ProcessStartMode.inheritStdio
: ProcessStartMode.normal,
);
}