isDuplicate method

MqttUnsubscribeMessage isDuplicate()

Sets the duplicate flag for the message to indicate its a duplicate of a previous message type with the same message identifier.

Implementation

MqttUnsubscribeMessage isDuplicate() {
  header!.isDuplicate();
  return this;
}