MapDiff<K, V>.set constructor

const MapDiff<K, V>.set(
  1. MapDiffArguments<K, V> args,
  2. K key,
  3. V? value
)

Implementation

const MapDiff.set(this.args, this.key, this.value)
    : type = MapDiffType.set,
      oldValue = null,
      assert(key != null);