segments property Null safety

Iterable<String?> segments

Individual segments, separated by : character, of this instance.

Will always have a length of at least 1.

Implementation

Iterable<String?> get segments => _segments.map((s) => s.name);