pollChatroomQueueEntry method

Future<NIMResult<NIMChatroomQueueEntry>> pollChatroomQueueEntry(
  1. String roomId,
  2. String? key
)

从列表中删除某个元素

roomId 聊天室ID

key 要删除的key,null表示移除队头元素

Implementation

Future<NIMResult<NIMChatroomQueueEntry>> pollChatroomQueueEntry(
    String roomId, String? key) {
  return _platform.pollChatroomQueueEntry(roomId, key);
}