MapDiffArguments<K, V>.copied constructor
MapDiffArguments<K, V>.copied (
- Map<
K, V> original, - Map<
K, V> replacement, { - String? debugName,
- String? id,
- bool checkValues = true,
- DiffEquality? keyEquality,
- DiffEquality? valueEquality,
Performs a defensive copy of the input maps in case they are not safe for crossing isolate boundaries
Implementation
MapDiffArguments.copied(Map<K, V> original, Map<K, V> replacement,
{String? debugName,
String? id,
bool checkValues = true,
DiffEquality? keyEquality,
DiffEquality? valueEquality})
: this({...original}, {...replacement},
checkValues: checkValues,
keyEquality: keyEquality,
valueEquality: valueEquality,
id: id,
debugName: debugName);