PathSegment constructor
const
PathSegment(
- String _segment, {
- PathSegment? parent,
Creates a new PathSegment with the given segment string.
Optionally, a parent
segment can be provided to build a hierarchical path.
Implementation
const PathSegment(this._segment, {this.parent});