decodeFull static method Null safety

String decodeFull(
  1. String uri
)

Decodes the percent-encoding in uri.

Note that decoding a full URI might change its meaning as some of the decoded characters could be reserved characters. In most cases, an encoded URI should be parsed into components using Uri.parse before decoding the separate components.

Example:

final decoded =
    Uri.decodeFull('https://example.com/api/query?search=%20dart%20is');
print(decoded); // https://example.com/api/query?search= dart is

Implementation

static String decodeFull(String uri) {
  return _Uri._uriDecode(uri, 0, uri.length, utf8, false);
}