GraphqlModelSerdesGenerator class
Digest a graphqlConfig (@ConnectOfflineFirstWithGraphQL) from reader and manage serdes generators
to and from a GraphqlProvider.
Constructors
- GraphqlModelSerdesGenerator(Element element, ConstantReader reader, {required String repositoryName})
-
Digest a
graphqlConfig(@ConnectOfflineFirstWithGraphQL) fromreaderand manage serdes generators to and from aGraphqlProvider.
Properties
- config → GraphqlSerializableExtended
-
Deserialize a
Configfrom an annotation, such asRestSerializable.no setter - configKey → String
-
Property under the annotation that contains the serialized config.
finalinherited
- element → Element
-
The annotated element
finalinherited
-
generators
→ List<
SerdesGenerator< FieldSerializable, Model> > -
Produce serializer and deserializer generators
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- reader → ConstantReader
-
The reader generated from the annotation
finalinherited
- repositoryName → String
-
Repository prefix passed to the generators.
Repositorywill be appended and should not be included.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
-
withinConfigKey(
String property) → ConstantReader? -
ConstantReader#readdoes not returnnull, so we must safely navigate itinherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited