The name read-only property of the File interface returns the name of the file represented by a File object. For security reasons, the path is excluded from this property.
name
external String get name;