RawMessage constructor

const RawMessage(
  1. String topic,
  2. List<int> payload, {
  3. Qos qos = Qos.atLeastOnce,
  4. bool retained = false,
})

Creates a message for the full topic with payload bytes.

Implementation

const RawMessage(
  this.topic,
  this.payload, {
  this.qos = Qos.atLeastOnce,
  this.retained = false,
});