delete method

Future<void> delete({
  1. required int id,
  2. bool removeFromClient = false,
  3. bool blacklist = false,
})

Handler for queue.

Remove an item from the queue and optionally blacklist it.

Required Parameters:

  • id: Radarr queue record identifier

Optional Parameters:

  • removeFromClient Remove the release from the download client
  • blacklist Blacklist the release from being fetched again

Implementation

Future<void> delete({
  required int id,
  bool removeFromClient = false,
  bool blacklist = false,
}) async => _commandDeleteQueue(
  _client,
  id: id,
  removeFromClient: removeFromClient,
  blacklist: blacklist,
);