SchemaMap constructor

SchemaMap({
  1. String? schema,
  2. String? queriesGlob,
  3. String? fragmentsGlob,
  4. String typeNameField = '__typename',
  5. bool appendTypeName = false,
  6. bool convertEnumToString = false,
  7. NamingScheme? namingScheme = NamingScheme.pathedWithTypes,
})

Instantiates a schema mapping.

Implementation

SchemaMap({
  this.schema,
  this.queriesGlob,
  this.fragmentsGlob,
  this.typeNameField = '__typename',
  this.appendTypeName = false,
  this.convertEnumToString = false,
  this.namingScheme = NamingScheme.pathedWithTypes,
});