path property
String
get
path
获取Uri中的path 如果该字符串不是Url 将抛出 FormatException
Implementation
String get path {
try {
return toUri?.path ?? "";
} catch (_) {
return "";
}
}
获取Uri中的path 如果该字符串不是Url 将抛出 FormatException
String get path {
try {
return toUri?.path ?? "";
} catch (_) {
return "";
}
}