forEachRenderTree method
Implementation
void forEachRenderTree(void Function(int key, RenderTree value) func) {
if (_renderTree.isNotEmpty) {
final entryPtr = _renderTree.entries.iterator;
if (entryPtr.moveNext()) {
func(entryPtr.current.key, entryPtr.current.value);
}
}
}