done property

Future<void> get done

Function called when additional host keys are received. This is an OpenSSH extension. May not be called if the server does not support the extension. A Future that completes when the transport is closed, or when an error occurs. After this Future completes, isClosed will be true and no more data can be sent or received.

Implementation

// final SSHHostKeysHandler? onHostKeys;

/// A [Future] that completes when the transport is closed, or when an error
/// occurs. After this [Future] completes, [isClosed] will be true and no more
/// data can be sent or received.
Future<void> get done => _transport.done;