fileName property

String get fileName

Gets the filename from the path.

Implementation

String get fileName {
  return path.split('/').last;
}