insertT method

List<T> insertT(
  1. int index,
  2. T value, {
  3. bool isInsert = true,
})

Insert child elements and return new array

Implementation

List<T> insertT(int index, T value, {bool isInsert = true}) {
  if (isInsert) {
    insert(index, value);
  }
  return this;
}