insertIntoList<V> static method

EmpireStateChanged insertIntoList<V>(
  1. int index,
  2. V value, {
  3. String? propertyName,
})

A factory method which creates a single EmpireStateChanged object with a description describing the value inserted into to the list at the specified index

Implementation

static EmpireStateChanged insertIntoList<V>(int index, V value,
        {String? propertyName}) =>
    EmpireStateChanged(
      value,
      null,
      propertyName: propertyName,
      description: 'Inserted $value into List as index $index',
    );