getBuildInMarketList static method
通过包名获取内置应用商店
Implementation
static List<AppMarketInfo> getBuildInMarketList(List<String> packageNames) {
List<AppMarketInfo> marketList = [];
packageNames.forEach((packageName) {
buildInMarketList.forEach((f) {
if (f.packageName == packageName) {
marketList.add(f);
}
});
});
return marketList;
}