We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4302037 commit 595522eCopy full SHA for 595522e
lib/src/model_utils.dart
@@ -45,7 +45,11 @@ bool isInExportedLibraries(
45
.any((lib) => lib == library || lib.exportedLibraries.contains(library));
46
}
47
48
-bool isPrivate(Element e) => e.name.startsWith('_');
+bool isPrivate(Element e) =>
49
+ e.name.startsWith('_') ||
50
+ (e is LibraryElement &&
51
+ (e.identifier == 'dart:_internal' ||
52
+ e.identifier == 'dart:nativewrappers'));
53
54
bool isPublic(Element e) {
55
if (isPrivate(e)) return false;
0 commit comments