isPDF property
bool
get
isPDF
Determines whether a given string represents a PDF file.
Implementation
bool get isPDF {
return toLowerCase().endsWith('.pdf');
}
Determines whether a given string represents a PDF file.
bool get isPDF {
return toLowerCase().endsWith('.pdf');
}