TF-1718 Check List-Unsubscribe in header of email & parsing to EmailUnsubscribe

(cherry picked from commit 9dc046a951e5198461178860c8ebe4bedff9062f)
This commit is contained in:
dab246
2023-11-15 19:55:38 +07:00
committed by Dat Vu
parent 7cf5c08ef5
commit 94909470af
8 changed files with 168 additions and 18 deletions
@@ -0,0 +1,19 @@
import 'package:equatable/equatable.dart';
class EmailUnsubscribe with EquatableMixin {
final List<String> httpLinks;
final List<String> mailtoLinks;
EmailUnsubscribe({
required this.httpLinks,
required this.mailtoLinks
});
@override
List<Object?> get props => [
httpLinks,
mailtoLinks
];
}