MqttData class

mqtt 的数据对象

Constructors

MqttData({required String topic, required String sender, String? receive, String start = "EF55", String? messageNumber, MqttMessageType? messageType, String? secretKey, int? dataLength = 0, String? data, String? checkCode, String? timeout, String? createdTime})

Properties

checkCode String?
final
createdTime String?
final
data String?
getter/setter pair
dataLength int?
final
hashCode int
The hash code for this object.
no setterinherited
messageNumber String?
final
messageType MqttMessageType?
getter/setter pair
receive String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String?
final
sender String
final
start String
final
timeout String?
final
topic String
final

Methods

copy({MqttMessageType? messageType, String? data}) MqttData
复制一个对象
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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