MqttReceivedMessage<T> constructor Null safety

MqttReceivedMessage<T>(
  1. String topic,
  2. T payload
)

Initializes a new instance of an MqttReceivedMessage class.

Implementation

MqttReceivedMessage(this.topic, this.payload);