PolicyWrite class final
A response value for a field with a merging FieldPolicy, put in place
of the raw value in the data handed to Cache.writeResponse (by
PrintedOperation.toCacheKeys): the pages of one request to merge
into the entry, in order.
Constructors
- PolicyWrite(FieldPolicy policy, String field)
Properties
- field → String
-
The field name, for FieldMergeContext.field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pages
→ List<
({Map< String, Object?> args, bool fill, Object? value})> -
One per response key mapped to the entry: the arguments it was sent
with, its value, and whether it only fills absent fields
(FieldPolicy.fill) rather than merging a page.
final
- policy → FieldPolicy
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited