getChildLibrary method
Implementation
BentoTheme? getChildLibrary(Iterable<String> path) {
if (path.isEmpty) return this;
final childKey = path.first;
final child = children.firstWhereOrNull((child) => child.name == childKey);
if (child != null) {
return child.getChildLibrary(
path.toList().getRange(1, path.length),
);
}
return null;
}