AdoptionRequest constructor

const AdoptionRequest({
  1. required String projectRoot,
  2. required AdoptionSource source,
  3. ProfileId? profile,
  4. String bundle = KnowledgeSeeds.bundle,
  5. bool ignoreOkfLock = true,
  6. bool bindExisting = false,
  7. List<AdoptionSeedConcept> concepts = const [],
  8. ProjectVocabulary vocabulary = ProjectVocabulary.none,
  9. String logAction = KnowledgeSeeds.logAction,
  10. String logDescription = KnowledgeSeeds.logDescription,
  11. List<String> instructionLines = const [],
  12. DateTime? date,
  13. bool offline = false,
  14. ProfileFetchPolicy? allowFetch,
  15. List<String> hostInputs = const [],
})

Implementation

const AdoptionRequest({
  required this.projectRoot,
  required this.source,
  this.profile,
  this.bundle = KnowledgeSeeds.bundle,
  this.ignoreOkfLock = true,
  this.bindExisting = false,
  this.concepts = const [],
  this.vocabulary = ProjectVocabulary.none,
  this.logAction = KnowledgeSeeds.logAction,
  this.logDescription = KnowledgeSeeds.logDescription,
  this.instructionLines = const [],
  this.date,
  this.offline = false,
  this.allowFetch,
  this.hostInputs = const [],
});