indexOf method

int indexOf(
  1. PdfPageLayer layer
)

Returns index of the PdfPageLayer in the collection if exists, -1 otherwise.

Implementation

int indexOf(PdfPageLayer layer) {
  return _helper.indexOf(layer);
}