leaveAll method

void leaveAll()

Leave all rooms.

@api private

Implementation

void leaveAll() {
  adapter.delAll(id);
  roomMap = {};
}