getInstallMarket static method
Implementation
static getInstallMarket(List<String>? packageNames) async {
List<String> packageNameList = AppMarketManager.packageNameList;
if (packageNames != null && packageNames.isNotEmpty) {
packageNameList.addAll(packageNames);
}
var map = {'packages': packageNameList};
var result = await _channel.invokeMethod('getInstallMarket', map);
return ((result as List).map((str) => '$str').toList());
}