EmailProjection constructor

EmailProjection({
  1. required String id,
  2. String? from,
  3. String? subject,
  4. required String inboxId,
  5. List<String>? attachments = const [],
  6. required DateTime createdAt,
  7. List<String> to = const [],
  8. List<String>? bcc = const [],
  9. List<String>? cc = const [],
  10. required bool read,
  11. String? domainId,
  12. String? bodyExcerpt,
  13. required bool teamAccess,
  14. String? bodyMD5Hash,
})

Returns a new EmailProjection instance.

Implementation

EmailProjection({
  required this.id,
  this.from,
  this.subject,
  required this.inboxId,
  this.attachments = const [],
  required this.createdAt,
  this.to = const [],
  this.bcc = const [],
  this.cc = const [],
  required this.read,
  this.domainId,
  this.bodyExcerpt,
  required this.teamAccess,
  this.bodyMD5Hash,
});