MongoConditionsMatch class final
A rule's conditions, parsed once and ready to be asked.
- Implemented types
Constructors
-
MongoConditionsMatch(Map<
String, Object?> conditions, {MongoQueryParser parser = const MongoQueryParser(), ConditionInterpreter interpreter = const ConditionInterpreter()}) -
Parses
conditions.
Properties
- condition → Condition
-
The parsed tree, exposed so a query builder can walk it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchesEverything → bool
-
Whether these conditions hold for every possible subject.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
matches(
Object? subject) → bool -
Whether
subjectsatisfies the conditions.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited