isPrivate property
Return true
if this element is private. Private elements are visible
only within the library in which they are declared.
Implementation
@override
bool get isPrivate {
final name = this.name;
if (name == null) {
return true;
}
return Identifier.isPrivateName(name);
}