WebhookDeliveryAttempt class final

Diagnostics from a single delivery attempt.

Constructors

WebhookDeliveryAttempt({required int smtpCode, String? classification, String? enhancedStatusCode, String? response, String? description, String? command, JsonMap raw = const {}})
Creates delivery attempt diagnostics.
const
WebhookDeliveryAttempt.fromJson(JsonMap json)
Decodes delivery attempt diagnostics from JSON.
factory

Properties

classification → String?
The bucket the bounce classifier assigned, for failures.
final
command → String?
The SMTP command in flight, for example RCPT TO or DATA.
final
description → String?
A human-readable translation of response, when it differs. Do not compare or parse it.
final
enhancedStatusCode → String?
The RFC 3463 enhanced status code, for example 5.1.1.
final
hashCode → int
The hash code for this object.
no setterinherited
raw → JsonMap
The JSON object this value was decoded from.
final
response → String?
The response text as recorded by the MTA. Human-readable; do not parse it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
smtpCode → int
The SMTP status code. 0 means a response without an SMTP code was recorded, typically an internal error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → JsonMap
Encodes this object as JSON.
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited