SSHClient constructor
SSHClient({})
Implementation
SSHClient({
required this.host,
required this.port,
required this.username,
required this.passwordOrKey, // password or {privateKey: value, [publicKey: value, passphrase: value]}
}) {
var uuid = new Uuid();
id = uuid.v4();
stateSubscription = onStateChanged!.listen((dynamic result) {
_parseOutput(result);
});
}