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