TypePolicy class

The field policies of one type, by field name. See FieldPolicy.

Constructors

TypePolicy({Map<String, FieldPolicy> fields = const {}, List<String> keyFields = const []})
const

Properties

fields → Map<String, FieldPolicy>
final
hashCode → int
The hash code for this object.
no setterinherited
keyFields → List<String>
Fields a custom Normalization.identify reads besides the key field (ownerId when an id is only unique per owner). They are selected with the key field on every keyed selection of the type, a request for the missing fields only included: without them, its response could not be keyed.
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