getChild method

Node? getChild(
  1. Scene scene,
  2. int index
)

Implementation

fb.Node? getChild(fb.Scene scene, int index) {
  int? childIndex = children?[index];
  if (childIndex == null) {
    return null;
  }
  return scene.nodes?[childIndex];
}