pathSegments property

List<String> get pathSegments

The segments of path.

Implementation

List<String> get pathSegments => p.url.split(path);