Get a child of this path.
Source
Path child(String name) =>
new Path(
(path.endsWith("/") ? path.substring(0, path.length - 1) : path) +
"/" +
(name.startsWith("/") ? name.substring(1) : name));
Get a child of this path.
Path child(String name) =>
new Path(
(path.endsWith("/") ? path.substring(0, path.length - 1) : path) +
"/" +
(name.startsWith("/") ? name.substring(1) : name));