asFolderPath method

String asFolderPath({
  1. String? domain,
})

Implementation

String asFolderPath({String? domain}) {
  var root = domain ?? rootPath;
  var uri = removePage();
  var path = "${uri.host}/${uri.path}";
  if (uri.host != "applications") path = "applications/$path";
  path = normalize("$root/$path");
  return path;
}