encodeURIComponent function

String encodeURIComponent(
  1. String str
)

Implementation

String encodeURIComponent(String str) {
  return Uri.encodeComponent(str);
}