androidGetInstalledApps method
Implementation
@override
Future<List<InstalledApp>> androidGetInstalledApps({
bool includeIcons = false,
bool includeSystemApps = true,
int iconSize = 96,
}) async {
final apps = await _invoke<List<dynamic>>('getInstalledApps', {
'includeIcons': includeIcons,
'includeSystemApps': includeSystemApps,
'iconSize': iconSize,
});
return (apps ?? const [])
.whereType<Map>()
.map((app) => InstalledApp.fromMap(_stringKeyed(app)))
.toList();
}