name property

String get name

Implementation

String get name {
  String path = this.path;
  int index = path.lastIndexOf(Platform.pathSeparator);
  String name = path.substring(index + 1, path.length);
  return name;
}