EmailEvent class final
A provider event describing email delivery, bounce, or complaint activity.
Exposes bounceSubType, bounceType, complaintSubType, and id, among other contract fields.
Constructors
- EmailEvent({String? bounceSubType, String? bounceType, String? complaintSubType, required String id, required DateTime occurredAt, required String provider, required String providerMessageId, String? reason, String? reasonCode, String? recipient, String? source, bool? suppressRecipient, bool? temporary, required String type})
-
const
-
EmailEvent.fromJson(Map<
String, Object?> json) -
factory
Properties
- bounceSubType → String?
-
final
- bounceType → String?
-
final
- complaintSubType → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- occurredAt → DateTime
-
final
- provider → String
-
final
- providerMessageId → String
-
final
- reason → String?
-
final
- reasonCode → String?
-
final
- recipient → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String?
-
final
- suppressRecipient → bool?
-
final
- temporary → bool?
-
final
- type → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited