Skip to main content
Version: 1.2.x

PubSubMessage Class - Flutter

Properties

id

  • type: String

  • Unique id of the pubsub message.


message

  • type: String

  • Message that has been published on the specific topic.


topic

  • type: String

  • Name of the topic.


senderId

  • type: String

  • This is the id of the participant, who has sent this pubsub message.


senderName

  • type: String

  • This is the name of the participant, who has sent this pubsub message.


timestamp

  • type: DateTime

  • Timestamp of when a message has been published.


payload

  • type: Map<String,dynamic>

  • This is the data that you have send with message.

Got a Question? Ask us on discord