SentEmailDto constructor

SentEmailDto({
  1. required String id,
  2. required String userId,
  3. required String inboxId,
  4. String? domainId,
  5. List<String>? to = const [],
  6. String? from,
  7. String? replyTo,
  8. List<String>? cc = const [],
  9. List<String>? bcc = const [],
  10. List<String>? attachments = const [],
  11. String? subject,
  12. String? bodyMD5Hash,
  13. String? body,
  14. List<String>? toContacts = const [],
  15. String? toGroup,
  16. String? charset,
  17. bool? isHTML,
  18. required DateTime sentAt,
  19. List<String>? pixelIds = const [],
  20. String? messageId,
  21. List<String>? messageIds = const [],
  22. bool? virtualSend,
  23. String? templateId,
  24. Map<String, Object>? templateVariables = const {},
  25. 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,
});