insert method

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

Implementation

void insert(int index, T item) {
  final temp = List<T>.from(value);
  temp.insert(index, item);
  value = temp;
}