Message class

Information about a message.

Constructors

Message({required String inputName, required String messageId, required Uint8List payload})

Properties

hashCode int
The hash code for this object.
no setterinherited
inputName String
The name of the input into which the message payload is transformed.
final
messageId String
The ID to assign to the message. Within each batch sent, each "messageId" must be unique.
final
payload Uint8List
The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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