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