disconnect method
Disconnects the SSH client if connected.
Implementation
Future<void> disconnect() async {
if (await isConnected()) {
client!.close();
}
}
Disconnects the SSH client if connected.
Future<void> disconnect() async {
if (await isConnected()) {
client!.close();
}
}