TF-4265 Add integration test for attachment reminder on mobile
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'attachment_keyword_config.g.dart';
|
||||
|
||||
@JsonSerializable(includeIfNull: false, explicitToJson: true)
|
||||
class AttachmentKeywordConfig with EquatableMixin {
|
||||
final List<String> includeList;
|
||||
final List<String> excludeList;
|
||||
|
||||
AttachmentKeywordConfig({
|
||||
List<String> includeList = const [],
|
||||
List<String> excludeList = const [],
|
||||
}) : includeList = List.unmodifiable(includeList),
|
||||
excludeList = List.unmodifiable(excludeList);
|
||||
|
||||
factory AttachmentKeywordConfig.fromJson(Map<String, dynamic> json) =>
|
||||
_$AttachmentKeywordConfigFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$AttachmentKeywordConfigToJson(this);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [includeList, excludeList];
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'keyword_config.g.dart';
|
||||
|
||||
@JsonSerializable(includeIfNull: false, explicitToJson: true)
|
||||
class KeywordConfig with EquatableMixin {
|
||||
final List<String> includeList;
|
||||
final List<String> excludeList;
|
||||
|
||||
const KeywordConfig({
|
||||
this.includeList = const [],
|
||||
this.excludeList = const [],
|
||||
});
|
||||
|
||||
factory KeywordConfig.fromJson(Map<String, dynamic> json) =>
|
||||
_$KeywordConfigFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$KeywordConfigToJson(this);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [includeList, excludeList];
|
||||
}
|
||||
Reference in New Issue
Block a user