$PubsubMessage class Null safety

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.
read / write
data String?
The message data field.
read / write
dataAsBytes List<int>
read / write
hashCode int
The hash code for this object.
read-onlyinherited
messageId String?
ID of this message, assigned by the server when the message is published.
read / write
orderingKey String?
If non-empty, identifies related messages for which publish order should be respected.
read / write
publishTime String?
The time at which the message was published, populated by the server when it receives the Publish call.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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