sendPayload method
Implementation
@override
void sendPayload(String payload, String channel) {
final builder = MqttClientPayloadBuilder();
builder.addString(payload);
_client!.publishMessage(channel, MqttQos.atLeastOnce, builder.payload!);
}
@override
void sendPayload(String payload, String channel) {
final builder = MqttClientPayloadBuilder();
builder.addString(payload);
_client!.publishMessage(channel, MqttQos.atLeastOnce, builder.payload!);
}