updateChatroomQueueEntry method Null safety

Future<NIMResult<void>> updateChatroomQueueEntry(
  1. {required String roomId,
  2. required NIMChatroomQueueEntry entry,
  3. bool isTransient = false}
)

Update an element of the chatroom queue.

roomId The chatroom ID

entry The queue element to be updated

isTransient (Optional parameter, default value if it is not passed in: false) true: the element needs to be deleted when the user who updates it goes offline or leaves the chatroom.

Implementation

Future<NIMResult<void>> updateChatroomQueueEntry({
  required String roomId,
  required NIMChatroomQueueEntry entry,
  bool isTransient = false,
}) {
  return _platform.updateChatroomQueueEntry(
    roomId: roomId,
    entry: entry,
    isTransient: isTransient,
  );
}