CelFieldsRead class final
What one expression reads under one variable root, record or
newRecord (local data, 5.13): the top-level field names it reads, or
all of it. A phone decides from this whether a rule's denial can be final
(every field the denial read is known on the phone).
Properties
-
fields
→ Set<
String> -
The top-level field names read under the variable,
has()and lookup ids included; a map subfield path (record.style.color) names its top-level field (style). System fields (id,version,createdAt,updatedAt) appear by name. Empty when whole.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Nothing under the variable is read.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- whole → bool
-
True when the expression depends on every field of the variable: it
calls
changedFields(), which compares the stored record with the proposed one field by field, or it reads the bare variable.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
within(
Iterable< String> allowed) → bool -
Whether every read lies within
allowed; never when whole.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited