indexOf method

  1. @override
int indexOf(
  1. Node child
)
override

Returns the index of child.

Implementation

@override
int indexOf(Node child) {
  if (isNodeElement) {
    return nodeAsElement!.nodes.indexOf(child);
  }
  return -1;
}