Returns a URI where the path has been normalized.
A normalized path does not contain .
segments or non-leading ..
segments. Only a relative path with no scheme or authority may contain leading ..
segments, a path that starts with /
will also drop any leading ..
segments.
This uses the same normalization strategy as new Uri().resolve(this)
.
Does not change any part of the URI except the path.
The default implementation of Uri
always normalizes paths, so calling this function has no effect.
Uri normalizePath();
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/Uri/normalizePath.html