WebhookBouncePayload class

Constructors

WebhookBouncePayload({required String messageId, required String webhookId, required WebhookBouncePayloadEventNameEnum eventName, String? webhookName, required String bounceId, List<String>? sentToRecipients = const [], required String sender, List<String>? bounceRecipients = const []})
Returns a new WebhookBouncePayload instance.

Properties

bounceId String
ID of the bounce email record. Use the ID with the bounce controller to view more information
getter/setter pair
bounceRecipients List<String>?
Email addresses that resulted in a bounce or email being rejected. Please save these recipients and avoid emailing them in the future to maintain your reputation.
getter/setter pair
eventName WebhookBouncePayloadEventNameEnum
Name of the event type webhook is being triggered for.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
messageId String
Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
Sender causing bounce
getter/setter pair
sentToRecipients List<String>?
Email sent to recipients
getter/setter pair
webhookId String
ID of webhook entity being triggered
getter/setter pair
webhookName String?
Name of the webhook being triggered
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) WebhookBouncePayload?
Returns a new WebhookBouncePayload instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<WebhookBouncePayload>?
mapFromJson(dynamic json) Map<String, WebhookBouncePayload>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<WebhookBouncePayload>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.