insert method

ImplicitTreapOfDouble insert(
  1. int index,
  2. double item
)
override

Inserts item at index.

Throws a RangeError if index is out of bounds.

Implementation

ImplicitTreapOfDouble insert(int index, double item) =>
    ImplicitTreapOfDouble._(base.insert(index, item));