encodeFull method

String encodeFull(String uri)

Encode the string uri using percent-encoding to make it safe for literal use as a full URI.

All characters except uppercase and lowercase letters, digits and the characters !#$&'()*+,-./:;=?@_~ are percent-encoded. This is the set of characters specified in in ECMA-262 version 5.1 for the encodeURI function .

Source

static String encodeFull(String uri) {
  return _Uri._uriEncode(_Uri._encodeFullTable, uri, 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/encodeFull.html