File createFile(String path)

Creates a new File object for the given path.

When this override is installed, this function overrides the behavior of new File() and new File.fromUri().

Source

File createFile(String path) => new _File(path);