SentEmailDto class

Constructors

SentEmailDto({required String id, required String userId, required String inboxId, String? domainId, List<String>? to = const [], String? from, String? replyTo, List<String>? cc = const [], List<String>? bcc = const [], List<String>? attachments = const [], String? subject, String? bodyMD5Hash, String? body, List<String>? toContacts = const [], String? toGroup, String? charset, bool? isHTML, required DateTime sentAt, List<String>? pixelIds = const [], String? messageId, List<String>? messageIds = const [], bool? virtualSend, String? templateId, Map<String, Object>? templateVariables = const {}, bool? html})
Returns a new SentEmailDto instance.

Properties

attachments List<String>?
Array of IDs of attachments that were sent with this email
getter/setter pair
bcc List<String>?
getter/setter pair
body String?
Sent email body
getter/setter pair
bodyMD5Hash String?
MD5 Hash
getter/setter pair
cc List<String>?
getter/setter pair
charset String?
getter/setter pair
domainId String?
Domain ID
getter/setter pair
from String?
Sent from address
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
html bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
id String
ID of sent email
getter/setter pair
inboxId String
Inbox ID email was sent from
getter/setter pair
isHTML bool?
getter/setter pair
messageId String?
getter/setter pair
messageIds List<String>?
getter/setter pair
pixelIds List<String>?
getter/setter pair
replyTo String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentAt DateTime
getter/setter pair
subject String?
getter/setter pair
templateId String?
getter/setter pair
templateVariables Map<String, Object>?
getter/setter pair
to List<String>?
Recipients email was sent to
getter/setter pair
toContacts List<String>?
getter/setter pair
toGroup String?
getter/setter pair
userId String
User ID
getter/setter pair
virtualSend bool?
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) SentEmailDto?
Returns a new SentEmailDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<SentEmailDto>?
mapFromJson(dynamic json) Map<String, SentEmailDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<SentEmailDto>>

Constants

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