difference method
Creates a new Database
with the records of this Database
that
are not in other
.
That is, the returned Database
contains all the records of this
Database
that are not elements of other
according to
other.contains
.
Implementation
@override
TableSet<E> difference(Set<Object?> other) {
final result = TableSet<E>()..addAll(this);
result.where(other.contains).forEach(result.remove);
return result;
}