And method

Q And([
  1. Q? other
])

Query-like Merges all groups from other into this query (AND at the group level).

When called without arguments, this is a no-op and can be used purely for readability.

Implementation

Q And([Q? other]) {
  if (other != null) {
    _groups.addAll(other._groups);
  }
  return self;
}