shouldBeRetained method
Defines that the message should be retained.
Implementation
MqttHeader shouldBeRetained() {
  retain = true;
  return this;
}Defines that the message should be retained.
MqttHeader shouldBeRetained() {
  retain = true;
  return this;
}