toProperties method
Implementation
List<String> toProperties() {
final List<String> props = [];
if (hasGeneralSearchTerm) {
props.add(
_buildDefine(
_FilterSettingProps.generalSearchTerm,
generalSearchTerm!,
),
);
}
if (hasTestFilterTerm) {
props.add(
_buildDefine(_FilterSettingProps.testFilterTerm, testFilterTerm!),
);
}
if (hasTestSearchFor) {
props
.add(_buildDefine(_FilterSettingProps.testSearchFor, testSearchFor!));
}
if (hasGroupFilterTerm) {
props.add(
_buildDefine(_FilterSettingProps.groupFilterTerm, groupFilterTerm!),
);
}
if (hasGroupSearchFor) {
props.add(
_buildDefine(_FilterSettingProps.groupSearchFor, groupSearchFor!),
);
}
if (hasTestFilterTerm) {
props.add(
_buildDefine(_FilterSettingProps.testFilterTerm, testFilterTerm!),
);
}
if (hasTestRunnerSearchFor) {
props.add(
_buildDefine(
_FilterSettingProps.testRunnerSearchFor,
testRunnerSearchFor!,
),
);
}
return props;
}