getObjectUrl<T extends VasatModel<T>> method

String getObjectUrl<T extends VasatModel<T>>(
  1. T entity
)

Implementation

String getObjectUrl<T extends VasatModel<T>>(T entity) {

  String uri;
  if (this.config != null && this.config.host != null) {
    uri = this.config.host + getUrlPath<T>(entity);
  } else {
    uri = "";
  }
  return uri;
}