The last segment of path, e.g. photo.jpg.
photo.jpg
String get name => path.substring(path.lastIndexOf('/') + 1);