Skip to content

Commit ad24a5a

Browse files
committed
Implement PackageCategory.publicLibraries
1 parent da71cf0 commit ad24a5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/model.dart

+2
Original file line numberDiff line numberDiff line change
@@ -4308,6 +4308,8 @@ class PackageCategory implements Comparable<PackageCategory> {
43084308

43094309
List<Library> get libraries => _libraries;
43104310

4311+
Iterable<Library> get publicLibraries => libraries.where((l) => l.isPublic);
4312+
43114313
@override
43124314
String toString() => name;
43134315

0 commit comments

Comments
 (0)