pathToUri method

  1. @override
Uri pathToUri(
  1. String path
)

Return the absolute URI that should be used to reference the file at the absolute path, or null if this resolver cannot reference this file. The file at that path is not required to exist.

Throws an ArgumentError if the path is not a valid path. ignore: deprecated_member_use_from_same_package

Implementation

@override
Uri pathToUri(String path) {
  return _provider.pathContext.toUri(path);
}