generate
fun generate(operation: GraphQLOperationInfo, packageName: String, scalarMappings: Map<String, String>, schemaIndex: SchemaIndex, backend: SerializationBackend = SerializationBackend.NONE): FileSpec?(source)
Generates a variable class for a single operation that has variables. Returns null if the operation has no variables.
Parameters
backend
The serialization backend to use for annotation emission.