SchemaMap class

Maps a GraphQL schema to queries files.

Annotations

Constructors

SchemaMap({String output, String schema, String queriesGlob, String resolveTypeField = '__resolveType', bool addQueryPrefix = false})
Instatiates a schema mapping.
SchemaMap.fromJson(Map<String, dynamic> json)
Build a schema mapping from a JSON map.
factory

Properties

addQueryPrefix bool
Wheter to add the name of the query as a prefix for each dependent object of this query input or response. [...]
@JsonKey(defaultValue: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
output String
The output file of this queries glob.
final
queriesGlob String
A Glob to find queries files.
final
resolveTypeField String
The resolve type field used on this schema.
@JsonKey(defaultValue: '__resolveType'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schema String
The GraphQL schema string.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Convert this schema mapping instance to JSON.
toString() String
A string representation of this object. [...]
inherited

Operators

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