canInclude method
Implementation
bool canInclude(ResolvedReferences import) {
if (associatedElement case Element(:final displayName)) {
if (displayName.startsWith('_')) {
return false;
}
}
if (lib.isDartCore) {
return false;
}
if (import.path == lib.firstFragment.source.fullName) {
return false;
}
return true;
}