name property

String get name

Returns the name of the last element in path.

Implementation

String get name => pathSegments.lastOrNull ?? '';