getProject function
Implementation
Project? getProject(String name) {
assert(_projects.containsKey(name),
"Project $name does not exist. You need to initialize the project first with init.initialize(project: $name)");
return _projects[name];
}