withWillTopic method
Sets the Will topic.
Implementation
MqttConnectMessage withWillTopic(String willTopic) {
payload.willTopic = willTopic;
return this;
}
Sets the Will topic.
MqttConnectMessage withWillTopic(String willTopic) {
payload.willTopic = willTopic;
return this;
}