UriConverter class abstract
A utility class used to convert between URIs and absolute file paths.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pathToUri(
String path, {String? containingPath}) → Uri? -
Return the URI that should be used to reference the file at the absolute
path
, ornull
if there is no valid way to reference the file in this converter’s context. The file at that path is not required to exist. -
toString(
) → String -
A string representation of this object.
inherited
-
uriToPath(
Uri uri) → String? -
Return the absolute path of the file to which the absolute
uri
resolves, ornull
if theuri
cannot be resolved in this converter’s context.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited