Dart API Reference
dart:io
File
File.fromUri
File.fromUri
constructor
Create a File object from a URI.
File.fromUri
(
Uri
uri
)
Create a File object from a URI.
If uri cannot reference a file this throws
UnsupportedError
.