SetDiff<T>.fromISets constructor
SetDiff<T>.fromISets ({
- required ISet<
T> before, - required ISet<
T> after,
Implementation
factory SetDiff.fromISets({
required ISet<T> before,
required ISet<T> after,
}) {
return SetDiff(
added: after.removeAll(before),
removed: before.removeAll(after),
);
}