isTxt static method
Checks if string is an txt file.
Implementation
static bool isTxt(String filePath) {
return filePath.toLowerCase().endsWith(".txt");
}
Checks if string is an txt file.
static bool isTxt(String filePath) {
return filePath.toLowerCase().endsWith(".txt");
}