restoreAbsolute method

  1. @Deprecated('Use pathToUri() instead')
  2. @override
Uri restoreAbsolute(
  1. Source source
)

Return an absolute URI that represents the given source, or null if a valid URI cannot be computed.

The computation should be based solely on source.fullName.

Implementation

@Deprecated('Use pathToUri() instead')
@override
Uri restoreAbsolute(Source source) => pathToUri(source.fullName);