getRemoteUsers method

List<ZegoUIKitUser> getRemoteUsers()

get remote users, not include local user

Implementation

List<ZegoUIKitUser> getRemoteUsers() {
  return ZegoUIKitCore.shared.coreData.remoteUsersList
      .where((user) => !user.isAnotherRoomUser)
      .map((user) => user.toZegoUikitUser())
      .toList();
}