void unsubscribe(Map m)

Source

void unsubscribe(Map m) {
  if (m['sids'] is List) {
    for (Object sid in m['sids']) {
      if (sid is int) {
        _subscription.remove(sid);
      }
    }
    closeResponse(m['rid']);
  } else {
    closeResponse(m['rid'], error: DSError.INVALID_PATHS);
  }
}