isSpreadSheetFile static method

bool isSpreadSheetFile(
  1. String filename
)

Checks if the given filename corresponds to a spreadsheet file.

Implementation

static bool isSpreadSheetFile(String filename) {
  return _hasExtension(filename, ['xls', 'xlsx']);
}