operator [] method

PdfFieldItem operator [](
  1. int index
)

Gets the Field item at the specified index.

Implementation

PdfFieldItem operator [](int index) {
  if (index < 0 || index >= count) {
    throw RangeError('index');
  }
  return _helper.list[index] as PdfFieldItem;
}