uninstallApp static method

Future<bool?> uninstallApp(
  1. String packageName
)

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},
  );
}