getAllUsers method
get all users, include local user and remote users
Implementation
List<ZegoUIKitUser> getAllUsers() {
return [
ZegoUIKitCore.shared.coreData.localUser,
...ZegoUIKitCore.shared.coreData.remoteUsersList
]
.where((user) => !user.isAnotherRoomUser)
.map((user) => user.toZegoUikitUser())
.toList();
}