name property

String get name

Gets the part of path after the last separator.

Implementation

String get name => p.basename(path);