name property

String get name

Returns the file name.

Implementation

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