MqttMessage.fromHeader constructor Null safety

MqttMessage.fromHeader(
  1. MqttHeader header
)

Initializes a new instance of the MqttMessage class.

Implementation

MqttMessage.fromHeader(MqttHeader header) {
  header = header;
}