fromInternalPath static method
Creates a FilePickerCross
from a local path.
This does not allow you to open a file from the local storage but only a file previously saved by saveToPath.
If you want to open the file to the shared, local memory, use importFromStorage instead.
Implementation
static Future<FilePickerCross> fromInternalPath({
required String path,
}) async {
final Uint8List? file = await internalFileByPath(path: path);
if (file == null) {
throw (NullThrownError());
}
return FilePickerCross(file, path: path);
}