MqttUnsubscribePayload.fromByteBuffer constructor

MqttUnsubscribePayload.fromByteBuffer(
  1. MqttHeader? header,
  2. MqttVariableHeader? variableHeader,
  3. MqttByteBuffer payloadStream
)

Initializes a new instance of the MqttUnsubscribePayload class.

Implementation

MqttUnsubscribePayload.fromByteBuffer(
    this.header, this.variableHeader, MqttByteBuffer payloadStream) {
  readFrom(payloadStream);
}