operator [] method

PdfNamedDestination operator [](
  1. int index
)

Gets the PdfNamedDestination at the specified index.

Implementation

PdfNamedDestination operator [](int index) {
  if (index < 0 || index > count - 1) {
    throw RangeError('$index, Index is out of range.');
  }
  return _namedCollections[index];
}