isPPT property

bool get isPPT

Checks if string is an powerpoint file.

Implementation

bool get isPPT {
  final ext = _string.toLowerCase();

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