XFileInfo.fromFile constructor

XFileInfo.fromFile(
  1. File file
)

Creates an XFileInfo from a Dart IO io.File.

This constructor is only available on VM platforms.

Implementation

XFileInfo.fromFile(io.File file)
    : _file = XFile(file.path),
      _ioFile = file;