isAPK static method

bool isAPK(
  1. String filePath
)

Checks if string is an apk file.

Implementation

static bool isAPK(String filePath) {
  return filePath.toLowerCase().endsWith('.apk');
}