getInstalledApps method

Future<List<Map<String, dynamic>>> getInstalledApps()

Get list of installed apps

Returns a list of maps with these keys:

  • "packageName": String (package name of the app)
  • "appName": String (display name of the app)
  • "isSystemApp": bool (true if the app is a system app)

Implementation

Future<List<Map<String, dynamic>>> getInstalledApps() {
  return FlutterSingboxPlatform.instance.getInstalledApps();
}