and method

TagQuery and(
  1. NodeQuery q2
)

Require that q2 also matches.

Implementation

TagQuery and(NodeQuery q2) => where((n) => q2.matches(n));