getUrlPath<T extends VasatModel<T> > method
Implementation
String getUrlPath<T extends VasatModel<T>>(T entity) {
var path = "";
if (entity.id != null)
path = "/${entity.id}";
return getUrlRoot(entity.getObjectName()) + path;
}