addObserver method

void addObserver(
  1. TUIRoomObserver observer
)

Implementation

void addObserver(TUIRoomObserver observer) {
  if (!_observerList.contains(observer)) {
    _observerList.add(observer);
  }
}