isXLSX property

bool get isXLSX

Checks if the file path or URL represents a latest Microsoft Excel spreadsheet.

Implementation

bool get isXLSX {
  final mt = mimeType();
  return mt ==
          'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ||
      mt == 'application/vnd.ms-excel';
}