fromPath static method

Future<LCFile> fromPath(
  1. String name,
  2. String path
)

Implementation

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