clear method Null safety

MqttClientPayloadBuilder clear()

Clear the buffer

Implementation

MqttClientPayloadBuilder clear() {
  _payload!.clear();
  return this;
}