isPPT static method

bool isPPT(
  1. String filePath
)

文件是否是PPT

Implementation

static bool isPPT(String filePath) {
  final ext = filePath.toLowerCase();
  return ext.endsWith(".ppt") || ext.endsWith(".pptx");
}