TF-4236 Apply BatchSetEmailProcessingMixin for some method use SetEmailMethod

This commit is contained in:
dab246
2026-01-26 12:03:27 +07:00
committed by Dat H. Pham
parent e42cdf83b3
commit fe57e72a02
18 changed files with 193 additions and 193 deletions
@@ -32,7 +32,10 @@ extension MapKeywordsExtension on Map<KeyWordIdentifier, bool>? {
this?.remove(keyword);
}
void toggleKeyword(KeyWordIdentifier keyword, bool shouldRemove) {
void toggleKeyword({
required KeyWordIdentifier keyword,
required bool shouldRemove,
}) {
if (shouldRemove) {
removeKeyword(keyword);
} else {