getIndexOfChild

open override fun getIndexOfChild(parent: Any?, child: Any?): Int(source)

Returns the relative index of child in parent, or -1 if (1) either parent or child is null, (2) either parent or child is not a StateNode, (3) either parent or child is not contained in this model, or (4) if child is not a child of parent.