ParsedConditions class abstract interface

A ConditionsMatch that can hand back the tree it parsed.

Implemented by the built-in Mongo matcher, and worth implementing in a custom one: it is what lets rulesToCondition turn a grant into a database query. A matcher that cannot answer still works for can; it only rules itself out of query building.

Implemented types
Implementers

Properties

condition Condition
The parsed conditions.
no setter
hashCode int
The hash code for this object.
no setterinherited
matchesEverything bool
Whether these conditions hold for every possible subject.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matches(Object? subject) bool
Whether subject satisfies the conditions.
inherited
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