differences method

MapDiffs<K, V> differences(
  1. Map<K, V> other, {
  2. bool checkValues = true,
  3. DiffEquality? keyEquality,
  4. DiffEquality? valueEquality,
  5. MapDiffAlgorithm? algorithm,
})

Implementation

MapDiffs<K, V> differences(
  Map<K, V> other, {
  bool checkValues = true,
  DiffEquality? keyEquality,
  DiffEquality? valueEquality,
  MapDiffAlgorithm? algorithm,
}) {
  algorithm ??= const DefaultMapDiffAlgorithm();
  return algorithm.execute(MapDiffArguments(this, other,
      checkValues: checkValues,
      keyEquality: keyEquality,
      valueEquality: valueEquality));
}