DartDocResolvedLibrary class Null safety

Contains the ResolvedLibraryResult and any additional information about the library coming from AnalysisDriver.

Prefer to populate this class with more information rather than passing AnalysisDriver or AnalysisSession down to PackageGraph. The graph object is reachable by many DartDoc model objects and there's no guarantee that there's a valid AnalysisDriver in every environment dartdoc runs.

Constructors

DartDocResolvedLibrary(ResolvedLibraryResult result, String restoredUri)

Properties

element LibraryElement
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
library LibraryElement
read-only
restoredUri String
final
result ResolvedLibraryResult
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited