parseTree<T> static method
Implementation
static T? parseTree<T>(String? manifestContent) {
if (isEncodedJSONMap(manifestContent)) {
return parseJSON(manifestContent) as T?;
} else {
try {
return loadYaml(manifestContent!) as T?;
} catch (e) {
print(e);
}
}
return null;
}