MessageMeta class
Metadata of one stored message. Never carries the message body.
Constructors
- MessageMeta({required String msgId, required Queue queue, required int size, required String receivedAt, String? expiresAt, Vid? from, Vid? to, WireProtocol? protocol, DeliveryState? deliveryState, String? deliveredAt})
-
const
-
MessageMeta.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- deliveredAt → String?
-
When the message was first handed to the recipient. Present only when deliveryState
is
delivered.final - deliveryState → DeliveryState?
-
final
- expiresAt → String?
-
When the mediator will expire the message if it is not deleted first.
final
- from → String?
-
The sender, where the mediator knows it. Absent for anonymous messages.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msgId → String
-
The mediator's identifier for the stored message; the handle messaging/message/get
and messaging/message/delete accept.
final
- protocol → WireProtocol?
-
final
- queue → Queue
-
final
- receivedAt → String
-
When the mediator stored the message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Stored size in bytes.
final
- to → String?
-
The recipient account.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited