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.
- PackageWithoutSdkResolver(UriResolver _packageResolver, UriResolver _sdkResolver)
) → void
Clear any cached URI resolution information.
Invocation? invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
Uri uri, [Uri actualUri]) → Source
Resolve the given absolute URI. Return a
Sourcerepresenting the file to which it was resolved, whether or not the resulting source exists, or
nullif it could not be resolved because the URI is invalid. [...]
Source source) → Uri
Return an absolute URI that represents the given
nullif a valid URI cannot be computed. [...]
) → String?
Returns a string representation of this object.