insert method Null safety

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

Throws an UnsupportedError; operations that change the length of the list are disallowed.

Implementation

@override
void insert(int index, E element) => _throw();