MissedEmailDto constructor

MissedEmailDto({
  1. required String id,
  2. String? userId,
  3. String? subject,
  4. String? bodyExcerpt,
  5. required int attachmentCount,
  6. String? from,
  7. String? rawUrl,
  8. String? rawKey,
  9. String? rawBucket,
  10. bool? canRestore,
  11. List<String> to = const [],
  12. List<String> cc = const [],
  13. List<String> bcc = const [],
  14. List<String> inboxIds = const [],
  15. required DateTime createdAt,
  16. required DateTime updatedAt,
})

Returns a new MissedEmailDto instance.

Implementation

MissedEmailDto({
  required this.id,
  this.userId,
  this.subject,
  this.bodyExcerpt,
  required this.attachmentCount,
  this.from,
  this.rawUrl,
  this.rawKey,
  this.rawBucket,
  this.canRestore,
  this.to = const [],
  this.cc = const [],
  this.bcc = const [],
  this.inboxIds = const [],
  required this.createdAt,
  required this.updatedAt,
});