uninstallApp static method
Uninstalls an app with the specified package name.
packageName
is the package name of the app to uninstall.
Returns a boolean indicating whether the uninstallation was successful.
Implementation
static Future<bool?> uninstallApp(String packageName) async {
return _channel.invokeMethod(
"uninstallApp",
{"package_name": packageName},
);
}