isPDFFile static method

bool isPDFFile(
  1. String filename
)

Checks if the given filename corresponds to a PDF file.

Implementation

static bool isPDFFile(String filename) {
  return _hasExtension(filename, ['pdf']);
}