segments property

List<String> get segments

The /-separated path segments.

Implementation

List<String> get segments => path.split('/');