isApk static method

bool isApk(
  1. String? s
)

验证是否为 APK 安装包名(.apk)。

Implementation

static bool isApk(String? s) =>
    s != null && s.isNotEmpty && _apkRegExp.hasMatch(s);