PathUtils class

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

absolute(String path) String
Returns absolute path.
basename(String path) String
Extracts the base name of a path.
canonicalize(String path) String
Canonicalizes a path (resolves symlinks, case-sensitivity).
dirname(String path) String
Extracts the directory name of a path.
join(String part1, [String? part2, String? part3, String? part4, String? part5, String? part6, String? part7, String? part8]) String
Joins parts into a single path using platform specific separators.
normalize(String path) String
Converts any path to standard form.
relative(String path, {required String from}) String
Returns the relative path from a directory to a file/directory.