resumeSession method
Resumes a previously detached interactive session on nodeId, identified
by sessionId (a full id, short handle, or unambiguous prefix). The
returned session continues exactly where it was detached; the node
enforces that the caller owns it.
Implementation
Future<RemoteSession> resumeSession({
required String nodeId,
required String sessionId,
PtySpec? pty,
}) => openSession(
nodeId: nodeId,
mode: SessionMode.shell,
pty: pty,
resumeSessionId: sessionId,
);