segments property Null safety

List<String> segments
final

A list of the segments in a matched path.

This property will contain every segment of the matched path, including constant segments. It will not contain any part of the path caught by the asterisk 'match all' token (*), however. Those are in remainingPath.

Implementation

final List<String> segments;