MqttReceivedMessage<T> class

Represents a MQTT message that has been received from a broker.

Constructors

MqttReceivedMessage(String topic, T payload)
Initializes a new instance of an MqttReceivedMessage class.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
payload ↔ T
The payload of the message received.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
topic String
The topic the message was received on.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited