onOwnerChangedFromChatRoom method

  1. @protected
void onOwnerChangedFromChatRoom(
  1. String roomId,
  2. String newOwner,
  3. String oldOwner
)

Implementation

@protected
void onOwnerChangedFromChatRoom(
    String roomId, String newOwner, String oldOwner) {
  for (var observer in List<ChatUIKitObserverBase>.of(observers)) {
    if (observer is RoomObserver) {
      observer.onOwnerChangedFromChatRoom(roomId, newOwner, oldOwner);
    }
  }
}