fromPath static method
Implementation
static RojoResolver fromPath(String projectJsonPath) {
final resolver = RojoResolver();
final file = File(projectJsonPath);
if (!file.existsSync()) return resolver;
final json = jsonDecode(file.readAsStringSync()) as Map<String, dynamic>;
resolver._parseTree(
p.dirname(projectJsonPath),
'',
json['tree'] as Map<String, dynamic>,
doNotPush: true,
);
return resolver;
}