getAppMarketList static method

List<AppMarketInfo> getAppMarketList(
  1. List<String> packageNames
)

Implementation

static List<AppMarketInfo> getAppMarketList(List<String> packageNames) {
  Set<AppMarketInfo> marketList = {};

  for (var packageName in packageNames) {
    for (var f in appMarketList) {
      if (f.packageName == packageName) {
        marketList.add(f);
      }
    }
  }

  return marketList.toList();
}