and method

NodeQuery and(
  1. Query<Node> q2
)

Require that q2 also matches.

Implementation

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