Метод decodeQueryComponent
String decodeQueryComponent(Декодирует процентов-кодирование в encodedComponent, преобразуя плюсы в пробелы.
Он создаст список байтов декодированных символов, а затем использует encoding для декодирования списка байтов в строку. По умолчанию используется кодировка UTF-8.
Исходный код
static String decodeQueryComponent(String encodedComponent,
{Encoding encoding: UTF8}) {
return _Uri._uriDecode(
encodedComponent, 0, encodedComponent.length, encoding, true);
}
© 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/decodeQueryComponent.html