GraphQLCodegenConfig class

Annotations
  • @JsonSerializable()

Constructors

GraphQLCodegenConfig({Set<GraphQLCodegenConfigClient> clients = const {}, bool disableContextReplacement = false, Map<String, GraphQLCodegenConfigScalar> scalars = const {}, Map<String, GraphQLCodegenConfigEnum> enums = const {}, bool addTypename = true, String assetsPath = "lib/**{.graphql,.gql,.graphqls}", List<String> scopes = const ["**{.graphql,.gql,.graphqls}"], List<String> addTypenameExcludedPaths = const [], String generatedFileHeader = "", String namingSeparator = r"$", List<String> extraKeywords = const [], String outputDirectory = '.'})
GraphQLCodegenConfig.fromJson(Map<String, dynamic> json)
factory

Properties

addTypename bool
final
addTypenameExcludedPaths List<String>
final
assetsPath String
final
clients Set<GraphQLCodegenConfigClient>
final
disableContextReplacement bool
final
enums Map<String, GraphQLCodegenConfigEnum>
final
extraKeywords List<String>
final
generatedFileHeader String
final
hashCode int
The hash code for this object.
no setterinherited
namingSeparator String
final
outputDirectory String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scalars Map<String, GraphQLCodegenConfigScalar>
final
scopes List<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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