isTxtFileName property
bool
get
isTxtFileName
检查字符串是否为Txt文件名。
Implementation
bool get isTxtFileName {
return toLowerCase().endsWith(".txt");
}
检查字符串是否为Txt文件名。
bool get isTxtFileName {
return toLowerCase().endsWith(".txt");
}