$PubsubMessage class

Used by:

  • pubsub:v1 : PubsubMessage
  • workflowexecutions:v1 : PubsubMessage

Constructors

$PubsubMessage({Map<String, String>? attributes, String? data, String? messageId, String? orderingKey, String? publishTime})
$PubsubMessage.fromJson(Map json_)

Properties

attributes Map<String, String>?
Attributes for this message.
getter/setter pair
data String?
The message data field.
getter/setter pair
dataAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
messageId String?
ID of this message, assigned by the server when the message is published.
getter/setter pair
orderingKey String?
If non-empty, identifies related messages for which publish order should be respected.
getter/setter pair
publishTime String?
The time at which the message was published, populated by the server when it receives the Publish call.
getter/setter pair
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