isPDF property

bool get isPDF

Checks if the string represents a PDF file path.

Implementation

bool get isPDF => _endsWith('.pdf');