moveToDeadLetter method Null safety
- MessageEnvelope message
override
Permanently removes a message from the queue and sends it to dead letter queue.
Important: This method is not supported by MQTT.
message
a message to be removed. Returns (optional) Future that receives an null for success. Throws error