TF-4195 Implement add a Label to an email

This commit is contained in:
dab246
2025-12-12 02:39:59 +07:00
committed by Dat H. Pham
parent 0d247b30d7
commit 78de7de3a6
18 changed files with 528 additions and 22 deletions
@@ -17,6 +17,20 @@ class EmailLoaded with EquatableMixin {
this.emailCurrent,
});
EmailLoaded copyWith({
String? htmlContent,
List<Attachment>? attachments,
List<Attachment>? inlineImages,
Email? emailCurrent,
}) {
return EmailLoaded(
htmlContent: htmlContent ?? this.htmlContent,
attachments: attachments ?? this.attachments,
inlineImages: inlineImages ?? this.inlineImages,
emailCurrent: emailCurrent ?? this.emailCurrent,
);
}
SMimeSignatureStatus? get sMimeStatus => emailCurrent?.sMimeStatus;
@override