reviseAddCoreInsertions method

AFCommandContext reviseAddCoreInsertions(
  1. Map<AFSourceTemplateInsertion, Object> revisedInsertions
)

Implementation

AFCommandContext reviseAddCoreInsertions(Map<AFSourceTemplateInsertion, Object> revisedInsertions) {
  final revisedCore = this.coreInsertions.reviseOverwrite(revisedInsertions);

  return AFCommandContext(
    parents: this.parents,
    packagePath: this.packagePath,
    output: this.output,
    definitions: this.definitions,
    generator: this.generator,
    arguments: this.arguments,
    coreInsertions: revisedCore,
    globalTemplateOverrides: this.globalTemplateOverrides,
  );

}