Slot constructor

Slot({
  1. required String name,
  2. required SlotConstraint slotConstraint,
  3. SlotDefaultValueSpec? defaultValueSpec,
  4. String? description,
  5. ObfuscationSetting? obfuscationSetting,
  6. int? priority,
  7. String? responseCard,
  8. List<String>? sampleUtterances,
  9. String? slotType,
  10. String? slotTypeVersion,
  11. Prompt? valueElicitationPrompt,
})

Implementation

Slot({
  required this.name,
  required this.slotConstraint,
  this.defaultValueSpec,
  this.description,
  this.obfuscationSetting,
  this.priority,
  this.responseCard,
  this.sampleUtterances,
  this.slotType,
  this.slotTypeVersion,
  this.valueElicitationPrompt,
});