getUrl method

String getUrl(
  1. String baseUrl
)

Implementation

String getUrl(String baseUrl) {
  if (this.isEmptyString) {
    return baseUrl;
  }
  if (this.isContainsStartsWith(["http://", "https://"])) {
    return this ?? "";
  }
  var join = path.join(baseUrl, this);
  return join;
}