PathUtils class
Operations on 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getFileExtension(
String path) → String - converts /some/path/file.i18n.json to i18n.json
-
getFileName(
String path) → String - converts /some/path/file.json to file.json
-
getFileNameNoExtension(
String path) → String - converts /some/path/file.json to file
-
replaceFileName(
{required String path, required String newFileName, required String pathSeparator}) → String - converts /some/path/file.json to /some/path/newFile.json