AnswerImporter constructor

AnswerImporter({
  1. required SpecRootDefinition type,
  2. required String yamlText,
  3. required SpecDocument document,
  4. required String rendition,
  5. bool allowOtherEdits = false,
})

Binds the importer to the current yamlText, its decoded document and the rendition of that document.

Implementation

AnswerImporter({
  required this.type,
  required this.yamlText,
  required this.document,
  required this.rendition,
  this.allowOtherEdits = false,
});