isChm static method

bool isChm(
  1. String filePath
)

Checks if string is an chm file.

Implementation

static bool isChm(String filePath) {
  return filePath.toLowerCase().endsWith(".chm");
}