getIndex method

int getIndex(
  1. PdfOutline outline
)

This is called by children to find their position in this outlines tree.

Implementation

int getIndex(PdfOutline outline) => outlines.indexOf(outline);