resolve method
Implementation
BrickConfig resolve({required String fromPath}) {
if (isReference) {
var path = reference.path;
if (reference.isRelative) {
path = join(dirname(fromPath), path);
}
final json = YamlToJson.fromPath(path);
return BrickConfig.fromJson(
json,
configPath: path,
);
}
return brick;
}