setRetain method
Set the retain flag on the message
Implementation
void setRetain({bool? state}) {
if ((state != null) && state) {
header!.shouldBeRetained();
}
}
Set the retain flag on the message
void setRetain({bool? state}) {
if ((state != null) && state) {
header!.shouldBeRetained();
}
}