rollbackPath method
Returns a copy of this context, rolling back a item on path.
Implementation
Context rollbackPath() {
return Context(
schema: schema,
typeDefinitionNodeVisitor: typeDefinitionNodeVisitor,
options: options,
schemaMap: schemaMap,
path: [...path]..removeLast(),
currentType: currentType,
currentFieldName: currentFieldName,
currentClassName: currentClassName,
ofUnion: ofUnion,
alias: alias,
generatedClasses: generatedClasses,
inputsClasses: inputsClasses,
fragments: fragments,
align: align - 1,
usedEnums: usedEnums,
usedInputObjects: usedInputObjects,
);
}