getChild method
Returns the index-th direct child of this node, resolved against
scene's shared node table, or null if the index is out of
range.
Implementation
fb.Node? getChild(fb.Scene scene, int index) {
int? childIndex = children?[index];
if (childIndex == null) {
return null;
}
return scene.nodes?[childIndex];
}