merge method
Implementation
void merge(Solution otherSolution) {
for (var key in otherSolution.screens.keys) {
screens[key] = otherSolution.screens[key]!;
}
for (var key in otherSolution.templates.keys) {
templates[key] = otherSolution.templates[key]!;
}
for (var key in otherSolution.components.keys) {
components[key] = otherSolution.components[key]!;
}
for (var key in otherSolution.requests.keys) {
requests[key] = otherSolution.requests[key]!;
}
}