GeneratorOptions class
This generator options, gathered from build.yaml file.
- Annotations
 - 
    
- @JsonSerializable.new(fieldRename: FieldRename.snake, anyMap: true)
 
 
Constructors
- 
          GeneratorOptions({bool generateHelpers = true, bool generateQueries = true, List<
ScalarMap?> scalarMapping = const [], String? fragmentsGlob, bool convertEnumToString = false, List<SchemaMap> schemaMapping = const [], List<String> ignoreForFile = const []}) - Instantiate generator options.
 - 
          GeneratorOptions.fromJson(Map<
String, dynamic> json) - 
          Build options from a JSON map.
            factory
 
Properties
- convertEnumToString → bool
 - 
  
  final
 - fragmentsGlob → String?
 - 
  A list of fragments apply for all query files without declare them.
  final
 - generateHelpers → bool
 - 
  If instances of GraphQLQuery should be generated.
  final
 - generateQueries → bool
 - 
  If query documents and operation names should be generated
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - 
  ignoreForFile
  → List<
String>  - 
  A list of linter rules to ignore
in generated files.
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - 
  scalarMapping
  → List<
ScalarMap?>  - 
  A list of scalar mappings.
  final
 - 
  schemaMapping
  → List<
SchemaMap>  - 
  A list of schema mappings.
  final
 
Methods
- 
  copyWith(
{bool? generateHelpers, bool? generateQueries, List< ScalarMap?> ? scalarMapping, String? fragmentsGlob, List<SchemaMap> ? schemaMapping, List<String> ? ignoreForFile, bool? convertEnumToString}) → GeneratorOptions - Creates a copy of this GeneratorOptions but with the given fields replaced with the new values.
 - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toJson(
) → Map< String, dynamic>  - Convert this options instance to JSON.
 - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited