PromptSuggestion constructor

const PromptSuggestion({
  1. required String text,
  2. required String title,
  3. String? description,
  4. required PromptCategory category,
  5. List<String> tags = const [],
  6. int usageCount = 0,
  7. DateTime? lastUsed,
  8. bool isCustom = false,
  9. String? requiredContext,
})

Implementation

const PromptSuggestion({
  required this.text,
  required this.title,
  this.description,
  required this.category,
  this.tags = const [],
  this.usageCount = 0,
  this.lastUsed,
  this.isCustom = false,
  this.requiredContext,
});