PathUtilsExtension extension

on

Properties

appendSlash String

Available on String?, provided by the PathUtilsExtension extension

包含前后斜线(输入示例:/path0/path1) eg. /path0/path1/
no setter
getName String

Available on String?, provided by the PathUtilsExtension extension

获取路径文件名(test.dart)
no setter
suffixName String

Available on String?, provided by the PathUtilsExtension extension

获取地址扩展名
no setter

Methods

appendParams({required String key, required String value}) String

Available on String?, provided by the PathUtilsExtension extension

追加参数
appendPath(String path) String

Available on String?, provided by the PathUtilsExtension extension

追加路径
replaceLastPathName(String replacePathName) String

Available on String?, provided by the PathUtilsExtension extension

替换最后路径名 (示例:http://xxxx/xx/[name?...|name2 -> newName?...]) replacePathName替换路径名