FieldPolicy<TExisting, TIncoming, TReadResult> class Null safety

Constructors

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

Properties

hashCode int
The hash code for this object.
read-onlyinherited
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.
read / write
merge FieldMergeFunction<TExisting, TIncoming>?
Custom function to merge into existing field
read / write
read FieldReadFunction<TExisting, TReadResult>?
Custom function to read existing field
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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