isDuplicate method

MqttSubscribeMessage isDuplicate()

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

Implementation

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