segments property

Iterable<String> segments

The segments of this route.

This includes the names and parameters of this parts.

Implementation

Iterable<String> get segments => parts.expand((part) => part.segments);