判断字符串是以xx开头
bool startsWith(String? str, Pattern prefix, [int index = 0]) { if (str == null) return false; return str.startsWith(prefix, index); }