equals method
Convenience method for creating a CompareFilter which matches
if this equals other.
If other is not an Expression, it will be wrapped into
a ValueExpression.
Implementation
Filter equals(dynamic other) =>
CompareFilter(this, CompareType.equals, Expression.dynamic(other));