isContainsSub method
字符串是否包含特定字符
params
待比较字符数组
Implementation
bool isContainsSub(List<String> params) {
if (this.isEmptyString || params.isEmptyList) {
return false;
}
for (var param in params) {
if (this?.contains(param) ?? false) {
return true;
}
}
return false;
}