Future<Map> getYaml({String path = 'pubspec.yaml'}) async { File f = File(path); String text = await f.readAsString(); Map yaml = loadYaml(text); return yaml; }