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