fromPath static method
Implementation
static Future<LCFile> fromPath(String name, String path) async {
LCFile file = new LCFile();
file.name = name;
file.mimeType = _LCMimeTypeMap.getMimeType(path);
file.file = new File(path);
return file;
}