inRoomAttributes property

ValueNotifier<ZegoUIKitUserAttributes> inRoomAttributes

Implementation

ValueNotifier<ZegoUIKitUserAttributes> get inRoomAttributes {
  final user = ZegoUIKitCore.shared.coreData.getUser(id);
  if (user.isEmpty) {
    return ZegoUIKitCore.shared.coreData
        .getUserInMixerStream(id)
        .inRoomAttributes;
  }
  return user.inRoomAttributes;
}