EmailPreview constructor

EmailPreview({
  1. required String id,
  2. String? domainId,
  3. String? subject,
  4. List<String>? to = const [],
  5. String? from,
  6. List<String>? bcc = const [],
  7. List<String>? cc = const [],
  8. required DateTime createdAt,
  9. required bool read,
  10. List<String>? attachments = const [],
})

Returns a new EmailPreview instance.

Implementation

EmailPreview({
  required this.id,
  this.domainId,
  this.subject,
  this.to = const [],
  this.from,
  this.bcc = const [],
  this.cc = const [],
  required this.createdAt,
  required this.read,
  this.attachments = const [],
});