ReceivedMessage class Null safety
A message and its corresponding acknowledgment ID.
Constructors
- ReceivedMessage({String? ackId, int? deliveryAttempt, PubsubMessage? message})
- ReceivedMessage.fromJson(Map json_)
Properties
- ackId ↔ String?
-
This ID can be used to acknowledge the received message.
read / write
- deliveryAttempt ↔ int?
-
The approximate number of times that Cloud Pub/Sub has attempted to
deliver the associated message to a subscriber.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message ↔ PubsubMessage?
-
The message.
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