forget method

void forget(
  1. ChatroomHandleImpl handle
)

句柄结束(离开或被移出)后从表中去掉。

Implementation

void forget(ChatroomHandleImpl handle) {
  if (identical(_handles[handle.roomId], handle)) _handles.remove(handle.roomId);
}