urlDecode property
Returns the URL-decoded version of the string.
Example:
String encodedUrl = 'https%3A%2F%2Fexample.com%2F%3Fq%3Dhello%20world';
String decodedUrl = encodedUrl.urlDecode;
print(decodedUrl); // Output: https://example.com/?q=hello world
Implementation
String get urlDecode => Uri.decodeQueryComponent(this);