insert method

void insert(
  1. int index,
  2. T data
)

Implementation

void insert(int index, T data) => insertAll(index, [data]);