decodeURIComponent function

String decodeURIComponent(
  1. String str
)

Implementation

String decodeURIComponent(String str) {
  try {
    return Uri.decodeComponent(str);
  } catch (_) {
    return str;
  }
}