first property

String first

The first segment in the path

Implementation

String get first => _single ?? _segments!.first;