Prompt constructor

Prompt({
  1. required int id,
  2. required String prompt,
  3. required DateTime createdAt,
  4. required DateTime updatedAt,
  5. required int platform,
  6. String? mentor,
  7. bool isSystem = true,
  8. String? category,
  9. String? description,
  10. Object? metadata,
})

Returns a new Prompt instance.

Implementation

Prompt({
  required this.id,
  required this.prompt,
  required this.createdAt,
  required this.updatedAt,
  required this.platform,
  this.mentor,
  this.isSystem = true,
  this.category,
  this.description,
  this.metadata,
});