createFileFromPath function

dynamic createFileFromPath(
  1. String path
)

Create a File object from path (mobile only) Returns null on web

Implementation

dynamic createFileFromPath(String path) {
  if (kIsWeb) {
    return null;
  }
  return file_helper.createFileFromPath(path);
}