parseDartInstalledCliPackages function
Parse dart installed [--all] output lines, other lines are ignored.
Implementation
List<DartInstalledCliPackage> parseDartInstalledCliPackages(
Iterable<String> lines,
) => lines.map(DartInstalledCliPackage.fromLine).nonNulls.toList();