getCurrentComponentInstance method
Implementation
ComponentEntity getCurrentComponentInstance(String key) {
if (componentsTree.containsKey(key)) {
return componentsTree[key]!.component;
} else {
throw Exception('Key not found');
}
}
ComponentEntity getCurrentComponentInstance(String key) {
if (componentsTree.containsKey(key)) {
return componentsTree[key]!.component;
} else {
throw Exception('Key not found');
}
}