fromFileUri static method

VirtualFile fromFileUri(
  1. Uri uri
)

Creates virtual file from file at specific file URI. Not supported on web.

Implementation

static VirtualFile fromFileUri(Uri uri) {
  return ReaderManager.instance.createVirtualFileFromUri(uri);
}