PubSubMessage class

Represents a single PubSub message.

Properties

id ↔ String
The unique identifier of the message.
getter/setter pair
message ↔ String
The content of the message.
getter/setter pair
payload ↔ Map<String, dynamic>?
Additional payload data associated with the message.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderId ↔ String
The ID of the sender.
getter/setter pair
senderName ↔ String
The name of the sender.
getter/setter pair
timestamp ↔ String
When the message was sent, exactly as the server reports it.
getter/setter pair
topic ↔ String
The topic of the message.
getter/setter pair