FieldPolicy<TExisting, TIncoming, TReadResult> class

Constructors

FieldPolicy({List<String>? keyArgs, FieldReadFunction<TExisting, TReadResult>? read, FieldMergeFunction<TExisting, TIncoming>? merge})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
keyArgs List<String>?
Defines which arguments passed to the field are "important" in the sense that their values (together with the enclosing entity object) determine the field's value.
final
merge FieldMergeFunction<TExisting, TIncoming>?
Custom function to merge into existing field
final
read FieldReadFunction<TExisting, TReadResult>?
Custom function to read existing field
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited