EmailProjection constructor
EmailProjection({
- required String id,
- String? from,
- String? subject,
- required String inboxId,
- List<
String> ? attachments = const [], - required DateTime createdAt,
- List<
String> to = const [], - List<
String> ? bcc = const [], - List<
String> ? cc = const [], - required bool read,
- String? domainId,
- String? bodyExcerpt,
- required bool teamAccess,
- 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,
});