insert method

  1. @override
void insert(
  1. int index,
  2. E element
)
override

Inserts a new element in the list. The element must be valid (and not nullable) for the PbList type.

Implementation

@override
void insert(int index, E element) {
  check(element);
  _wrappedList.insert(index, element);
}