last property

String get last

The last segment in the path

Implementation

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