isStartsWithAny method
Returns true if this string starts with any item in list.
Implementation
bool isStartsWithAny(List<String>? list, {bool isCaseSensitive = true}) {
if (isEmpty || list == null || list.isEmpty) return false;
final String find = isCaseSensitive ? this : toLowerCase();
return list.any(
(String item) =>
isCaseSensitive ? find.startsWith(item) : find.startsWith(item.toLowerCase()),
);
}