DeadLetterPolicy class Null safety

Dead lettering is done on a best effort basis.

The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

Constructors

DeadLetterPolicy({String? deadLetterTopic, int? maxDeliveryAttempts})
DeadLetterPolicy.fromJson(Map json_)

Properties

deadLetterTopic String?
The name of the topic to which dead letter messages should be published.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
maxDeliveryAttempts int?
The maximum number of delivery attempts for any 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