decodeComponent method
String decodeComponent(Decodes the percent-encoding in encodedComponent
.
Note that decoding a URI component might change its meaning as some of the decoded characters could be characters with are delimiters for a given URI component type. Always split a URI component using the delimiters for the component before decoding the individual parts.
For handling the path and query components consider using pathSegments and queryParameters to get the separated and decoded component.
Source
static String decodeComponent(String encodedComponent) { return _Uri._uriDecode( encodedComponent, 0, encodedComponent.length, UTF8, false); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/Uri/decodeComponent.html