parseDebianYaml static method
Implementation
static Future<FlutterToDebian?> parseDebianYaml() async {
File yaml = File("debian/debian.yaml");
if (!(await yaml.exists())) {
yaml = File("debian/debian.yml");
}
if (await yaml.exists()) {
try {
YamlMap yamlMap = loadYaml(await yaml.readAsString());
return FlutterToDebian.fromYaml(yamlMap);
} catch (e) {
rethrow;
}
}
return null;
}