packageConfigGetPackages function

List<String> packageConfigGetPackages(
  1. Map packageConfigMap
)

Get a list of packages

Implementation

List<String> packageConfigGetPackages(Map packageConfigMap) {
  var packagesList = packageConfigMap['packages'] as Iterable;
  return packagesList.map((e) => (e as Map)['name'] as String).toList();
}