resolveBricks method
Implementation
Map<String, BrickConfig> resolveBricks() {
final resolved = <String, BrickConfig>{};
final bricks = this.bricks;
if (bricks == null) {
return resolved;
}
for (final MapEntry(key: name, value: config) in bricks.entries) {
try {
resolved[name] = config.resolve(fromPath: configPath);
} catch (e) {
di<Logger>().err('Failed to resolve brick $name');
di<Logger>().err(' $e');
}
}
return resolved;
}