asFile property
Assume the current file system entity is a File and return it as such.
You would call this instead of entity when the file system entity does
not yet exist.
Implementation
File get asFile => new File(path);
Assume the current file system entity is a File and return it as such.
You would call this instead of entity when the file system entity does
not yet exist.
File get asFile => new File(path);