File.fromUri constructor
- Uri uri
Create a File object from a URI.
If uri
cannot reference a file this throws UnsupportedError.
Implementation
factory File.fromUri(Uri uri) => new File(uri.toFilePath());
Create a File object from a URI.
If uri
cannot reference a file this throws UnsupportedError.
factory File.fromUri(Uri uri) => new File(uri.toFilePath());