getUrl method

String getUrl()

Implementation

String getUrl() {
  String uri = getUri();
  String? url = defaultBaseUrl;
  if (url == null || url.length == 0) {
    TGLog.e(
        "Set baseUrl once: TGService.init(baseUrl: 'https://api.product.com/v1')");
  }
  return prepareUrl(url, uri);
}