isConnected method

Future<bool> isConnected()

Returns the status of the SSH connection.

Implementation

Future<bool> isConnected() async {
  return await sshConnection.isConnected();
}