MapChangeRecord<K, V>.remove constructor

const MapChangeRecord<K, V>.remove(
  1. K key,
  2. V? oldValue
)

Create a remove record of key with a former oldValue.

Implementation

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