pathSegments property

List<String> get pathSegments

Splits path into its components.

Implementation

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