PathUtilsExtension extension
- on
Properties
- appendSlash → String
-
包含前后斜线(输入示例:/path0/path1)
eg. /path0/path1/
no setter
- getName → String
-
获取路径文件名(test.dart)
no setter
- suffixName → String
-
获取地址扩展名
no setter
Methods
-
appendParams(
{required String key, required String value}) → String - 追加参数
-
appendPath(
String path) → String - 追加路径
-
replaceLastPathName(
String replacePathName) → String -
替换最后路径名
(示例:http://xxxx/xx/[name?...|name2 -> newName
?...
])replacePathName
替换路径名