isAppInstalled static method
Checks if an app with the specified package name is installed on the device.
packageName
is the package name of the app to check.
Returns a boolean indicating whether the app is installed.
Implementation
static Future<bool?> isAppInstalled(String packageName) async {
return _channel.invokeMethod(
"isAppInstalled",
{"package_name": packageName},
);
}