Should return true if a condition is met.
Similar to List.where.
typedef WhereCallback = bool Function(QueryBase<dynamic, dynamic>);