SentEmailDto constructor
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.
Implementation
SentEmailDto({
required this.id,
required this.userId,
required this.inboxId,
this.domainId,
this.to = const [],
this.from,
this.replyTo,
this.cc = const [],
this.bcc = const [],
this.attachments = const [],
this.subject,
this.bodyMD5Hash,
this.body,
this.toContacts = const [],
this.toGroup,
this.charset,
this.isHTML,
required this.sentAt,
this.pixelIds = const [],
this.messageId,
this.messageIds = const [],
this.virtualSend,
this.templateId,
this.templateVariables = const {},
this.html,
});