detachSession method

Future<ActiveSessionDetachResult> detachSession(
  1. String nodeId, {
  2. String sessionRef = '',
})

Detaches the caller's active session sessionRef on nodeId (empty sessionRef targets the sole active session).

Implementation

Future<ActiveSessionDetachResult> detachSession(
  String nodeId, {
  String sessionRef = '',
}) => _guard(
  () => client.detachActiveSession(nodeId: nodeId, sessionRef: sessionRef),
);