absolute property Null safety

FileSystemEntity absolute

Returns a FileSystemEntity whose path is the absolute path to this.

The type of the returned instance is the type of this.

A file system entity with an already absolute path (as reported by isAbsolute) is returned directly. For a non-absolute path, the returned entity is absolute (isAbsolute) if possible, but still refers to the same file system object.

Implementation

FileSystemEntity get absolute;