GraphQLCodegenConfig class

Annotations
  • @JsonSerializable.new()

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 = '.', bool disableCopyWithGeneration = false, bool enableInputBuilders = false, bool allowMissingNullableKeysInFromJson = false, bool setOperationName = false})
GraphQLCodegenConfig.fromJson(Map<String, dynamic> json)
factory

Properties

addTypename → bool
final
addTypenameExcludedPaths → List<String>
final
allowMissingNullableKeysInFromJson → bool
final
assetsPath → String
final
clients → Set<GraphQLCodegenConfigClient>
final
disableContextReplacement → bool
final
disableCopyWithGeneration → bool
final
enableInputBuilders → 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
setOperationName → bool
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