статический метод 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 BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-core/Uri/decodeQueryComponent.html