child method
Creates a child PathSegment with this segment as the parent.
childSegment
is the string value of the child segment.
Implementation
PathSegment child(String childSegment) =>
PathSegment(childSegment, parent: this);
Creates a child PathSegment with this segment as the parent.
childSegment
is the string value of the child segment.
PathSegment child(String childSegment) =>
PathSegment(childSegment, parent: this);