insert method

void insert(
  1. int index,
  2. PdfListFieldItem item
)

Inserts the list item field at the specified index.

Implementation

void insert(int index, PdfListFieldItem item) {
  if (index < 0 || index > count) {
    throw RangeError('index');
  }
  _doInsert(index, item);
}