PackageWithoutSdkResolver class Null safety

This class resolves package URIs, but only if a given SdkResolver doesn't resolve them.

TODO(jcollins-g): remove this hackery when a clean public API to analyzer exists, and port dartdoc to it.

Constructors

PackageWithoutSdkResolver(UriResolver _packageResolver, UriResolver _sdkResolver)

Properties

hashCode int?
The hash code for this object. [...]
read-only, inherited
runtimeType Type?
A representation of the runtime type of the object.
read-only, inherited

Methods

clearCache() → void
Clear any cached URI resolution information.
inherited
noSuchMethod(Invocation? invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
resolveAbsolute(Uri uri, [Uri actualUri]) → Source
Resolve the given absolute URI. Return a Source representing the file to which it was resolved, whether or not the resulting source exists, or null if it could not be resolved because the URI is invalid. [...]
restoreAbsolute(Source source) Uri
Return an absolute URI that represents the given source, or null if a valid URI cannot be computed. [...]
toString() String?
Returns a string representation of this object.
inherited

Operators

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