MapChangeRecord<K, V>.insert constructor

const MapChangeRecord<K, V>.insert(
  1. K key,
  2. V? newValue
)

Create an insert record of key and newValue.

Implementation

const MapChangeRecord.insert(this.key, this.newValue)
    : isInsert = true,
      isRemove = false,
      oldValue = null;