isPPTFileName property

bool get isPPTFileName

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

Implementation

bool get isPPTFileName {
  final String path = toLowerCase();

  return path.endsWith(".ppt") || path.endsWith(".pptx");
}