unbind abstract method

Future<Queue> unbind(
  1. Exchange exchange,
  2. String routingKey, {
  3. bool noWait,
  4. Map<String, Object> arguments,
})

Unbind this queue from exchange with routingKey and return a Future<Queue> to the unbound queue.

The routingKey parameter cannot be empty or null unless exchange is of type ExchangeType.FANOUT or ExchangeType.HEADERS. For any other exchange type, passing an empty or null routingKey will cause an ArgumentError to be thrown.

Implementation

Future<Queue> unbind(Exchange exchange, String routingKey,
    {bool noWait, Map<String, Object> arguments});