TypePolicy class
Properties
-
fields
→ Map<String, FieldPolicy>
-
Allows defining
FieldPolicy
s for this type.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
keyFields
→ Map<String, dynamic>?
-
Allows defining the primary key fields for this type.
final
-
mutationType
→ bool
-
Set to
true
if this type is the root Mutation in your schema.
final
-
queryType
→ bool
-
Set to
true
if this type is the root Query in your schema.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscriptionType
→ bool
-
Set to
true
if this type is the root Subscription in your schema.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited