copyWith method

SchemaMap copyWith({
  1. String? output,
  2. String? schema,
  3. String? queriesGlob,
  4. String? fragmentsGlob,
  5. String? typeNameField,
  6. bool? appendTypeName,
  7. bool? convertEnumToString,
  8. NamingScheme? namingScheme,
})

Implementation

SchemaMap copyWith({
  String? output,
  String? schema,
  String? queriesGlob,
  String? fragmentsGlob,
  String? typeNameField,
  bool? appendTypeName,
  bool? convertEnumToString,
  NamingScheme? namingScheme,
}) {
  return SchemaMap(
    output: output ?? this.output,
    schema: schema ?? this.schema,
    queriesGlob: queriesGlob ?? this.queriesGlob,
    fragmentsGlob: fragmentsGlob ?? this.fragmentsGlob,
    typeNameField: typeNameField ?? this.typeNameField,
    appendTypeName: appendTypeName ?? this.appendTypeName,
    convertEnumToString: convertEnumToString ?? this.convertEnumToString,
    namingScheme: namingScheme ?? this.namingScheme,
  );
}