Email constructor

const Email(
  1. List<Personalization> personalizations,
  2. Address from,
  3. String subject, {
  4. List<Content>? content,
  5. Address? replyTo,
  6. List<Attachment>? attachments,
  7. String? templateId,
  8. Map<String, String>? headers,
  9. List<String>? categories,
  10. Map<String, String>? customArgs,
  11. DateTime? sendAt,
  12. String? batchId,
  13. AdvancedSuppressionManager? asm,
  14. String? ipPoolName,
  15. MailSettings? mailSettings,
  16. TrackingSettings? trackingSettings,
})

Implementation

const Email(
  this.personalizations,
  this.from,
  this.subject, {
  this.content,
  this.replyTo,
  this.attachments,
  this.templateId,
  this.headers,
  this.categories,
  this.customArgs,
  this.sendAt,
  this.batchId,
  this.asm,
  this.ipPoolName,
  this.mailSettings,
  this.trackingSettings,
});