GraphqlAnnotationFinder class
Find @Graphql
given a field
Constructors
- GraphqlAnnotationFinder([GraphqlSerializable? config])
Properties
- config → GraphqlSerializable?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
annotationForField(
FieldElement field) → Graphql -
Given a field element, retrieve the
Annotation
equivalentinherited -
from(
FieldElement element) → Graphql -
Create a
Annotation
based on aFieldElement
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
objectForField(
FieldElement field) → DartObject? -
Find annotation for
FieldElement
if one existsinherited -
renameField(
String name, FieldRename? configValue, FieldRename defaultValue) → String -
Change serialization key based on the configuration.
name
defined with a field annotation takes precedence.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
valueForDynamicField(
String fieldName, FieldElement element) → dynamic -
Return the actual value for fields of an element that could be one of any primitive
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited