parseDartInstalledCliPackages function

List<DartInstalledCliPackage> parseDartInstalledCliPackages(
  1. Iterable<String> lines
)

Parse dart installed [--all] output lines, other lines are ignored.

Implementation

List<DartInstalledCliPackage> parseDartInstalledCliPackages(
  Iterable<String> lines,
) => lines.map(DartInstalledCliPackage.fromLine).nonNulls.toList();