operator [] method
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];
}