MailDraft constructor

const MailDraft({
  1. required FixedMailAccount account,
  2. bool createDraft = false,
  3. bool updateDraft = false,
  4. bool saveDraft = false,
  5. bool deleteDraft = false,
  6. bool sendDraft = false,
  7. bool openDraft = false,
  8. Map<String, String> dialogs = const {},
  9. Map<String, String> confirm = const {},
  10. bool confirmDeletes = true,
  11. Set<String> replies = const {},
  12. Set<String> cardButtons = const {},
  13. Map<String, String> summaries = const {},
  14. String? url,
  15. Unlock? requiresUnlock,
  16. String? systemImage,
  17. bool visualSearch = false,
})

Implementation

const MailDraft({
  required this.account,
  this.createDraft = false,
  this.updateDraft = false,
  this.saveDraft = false,
  this.deleteDraft = false,
  this.sendDraft = false,
  this.openDraft = false,
  super.dialogs,
  super.confirm,
  super.confirmDeletes,
  super.replies,
  super.cardButtons,
  super.summaries,
  super.url,
  super.requiresUnlock,
  super.systemImage,
  super.visualSearch,
}) : super('mail.draft');