getInstalledApps method
Implementation
@override
Future<List<AppInfo>> getInstalledApps({
bool includeSystemApps = false,
}) async {
final List<dynamic>? appsMap = await methodChannel.invokeMethod(
'getInstalledApps',
{'includeSystemApps': includeSystemApps},
);
if (appsMap == null) return [];
return appsMap.map((map) => AppInfo.fromMap(map)).toList();
}