withAlias method
Returns a copy of this context, with the same type and path.
Implementation
Context withAlias({
Name? nextFieldName,
Name? nextClassName,
Name? alias,
}) =>
Context(
schema: schema,
typeDefinitionNodeVisitor: typeDefinitionNodeVisitor,
options: options,
schemaMap: schemaMap,
path: path,
currentType: currentType,
currentFieldName: nextFieldName,
currentClassName: nextClassName,
ofUnion: ofUnion,
alias: alias,
generatedClasses: generatedClasses,
inputsClasses: inputsClasses,
fragments: fragments,
align: align,
usedEnums: usedEnums,
usedInputObjects: usedInputObjects,
);