isPDFFileName property

bool get isPDFFileName

检查字符串是否为PDF文件名。

Implementation

bool get isPDFFileName {
  return toLowerCase().endsWith(".pdf");
}