differencesAsSetAsync method

Future<SetDiffs<E>> differencesAsSetAsync(
  1. Iterable<E> other, {
  2. String? debugName,
  3. required DiffEquality equality,
  4. SetDiffAlgorithm? algorithm,
})

Implementation

Future<SetDiffs<E>> differencesAsSetAsync(Iterable<E> other,
    {String? debugName,
    required DiffEquality equality,
    SetDiffAlgorithm? algorithm}) async {
  final asSet = this.toSet();
  return await (asSet.differencesAsync(other.toSet(),
      debugName: debugName, equality: equality, algorithm: algorithm));
}