firstPath property

String? firstPath

helper for condition with first path

Implementation

String? get firstPath => uri?.pathSegments.firstOrDefault;