calculateListDiff<T> function
calculate the difference between the two given lists.
@param oldList the old list @param newList the new list @param detectMoves wheter move detection should be enabled @param equalityChecker use this if you don't want to use the equality as defined by the == operator
Implementation
DiffResult<T> calculateListDiff<T>(
List<T> oldList,
List<T> newList, {
bool detectMoves = true,
bool Function(T, T)? equalityChecker,
}) {
return calculateDiff<T>(
ListDiffDelegate<T>(oldList, newList, equalityChecker),
detectMoves: detectMoves,
);
}