fileName property

String fileName

return the file name of file path.

Implementation

String get fileName => path.basename(this);