WebhookDeliveryAttempt.fromJson constructor
WebhookDeliveryAttempt.fromJson(
- JsonMap json
Decodes delivery attempt diagnostics from JSON.
Implementation
factory fromJson(JsonMap json) => WebhookDeliveryAttempt(
smtpCode: decodeIntOrNull(json['smtp_code']) ?? 0,
classification: json['classification'] as String?,
enhancedStatusCode: json['enhanced_status_code'] as String?,
response: json['response'] as String?,
description: json['description'] as String?,
command: json['command'] as String?,
raw: json,
);