TF-4265 Add exclude list support to AttachmentTextDetector

This commit is contained in:
dab246
2026-01-30 13:16:17 +07:00
committed by Dat H. Pham
parent 772a5e3219
commit 1071bb49cf
7 changed files with 330 additions and 85 deletions
@@ -0,0 +1,10 @@
import 'package:tmail_ui_user/features/composer/presentation/manager/keyword_filter.dart';
/// Data Transfer Object used to package data sent to the Isolate.
/// Since Isolates cannot share memory, we need a simple object to pass parameters.
class DetectionParams {
final String text;
final List<KeywordFilter> filters;
DetectionParams({required this.text, required this.filters});
}