urlEncode static method

String urlEncode(
  1. String url
)

Implementation

static String urlEncode(String url) {
  if (isEmptyOrNull(url)){
    return "";
  }

  return Uri.encodeFull(url);
}