resolveFileUri abstract method

Uri resolveFileUri(
  1. Uri uri, {
  2. Uri? relativeTo,
})

Resolves a URI to an absolute URI on the file system.

This method handles various URI schemes (package:, asset:, dart:) and transforms them into absolute file: URIs, which can be used to read files from the file system.

@param uri The URI to resolve @param relativeTo An optional base URI for resolving relative URIs @return The absolute file URI

Implementation

Uri resolveFileUri(Uri uri, {Uri? relativeTo});