Creates an XFileInfo from a Dart IO io.File.
This constructor is only available on VM platforms.
XFileInfo.fromFile(io.File file) : _file = XFile(file.path), _ioFile = file;