listSessions method

Future<List<DetachedSessionInfo>> listSessions(
  1. String nodeId
)

Lists the caller's sessions (active + detached) on nodeId.

Implementation

Future<List<DetachedSessionInfo>> listSessions(String nodeId) =>
    _guard(() => client.listSessions(nodeId: nodeId));