RuleRequest class final

What an expression rule reads besides the principal and the record (05 §3.5): request.time, the query's params (list and subscribe), an update's resolved candidate and its changedFields(), record lookups for get() and exists(), and the unlocks owns() reads.

Constructors

RuleRequest(DateTime time, {Map<String, Object?> params = const {}, Map<String, Object?>? newRecord, List<String>? changedFields, RecordLookup? lookup, Set<String> owned = const {}, Map<String, Object?>? paramTypes})
const

Properties

changedFields → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
lookup → RecordLookup?
Resolves get() and exists(); without one, a lookup is an evaluation error, so the rule denies.
final
newRecord → Map<String, Object?>?
final
owned → Set<String>
final
params → Map<String, Object?>
final
paramTypes → Map<String, Object?>?
The declared types of params, by name; read only when the evaluation is given its field types.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
time → DateTime
final

Methods

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