DeadLetterPolicy.fromJson constructor

DeadLetterPolicy.fromJson(
  1. Map json_
)

Implementation

DeadLetterPolicy.fromJson(core.Map json_)
    : this(
        deadLetterTopic: json_.containsKey('deadLetterTopic')
            ? json_['deadLetterTopic'] as core.String
            : null,
        maxDeliveryAttempts: json_.containsKey('maxDeliveryAttempts')
            ? json_['maxDeliveryAttempts'] as core.int
            : null,
      );