fileName property
String
get
fileName
Everything after the last path separator.
Implementation
String get fileName {
final path = key;
final slash = path.lastIndexOf('/');
return slash < 0 ? path : path.substring(slash + 1);
}