PromptDetail constructor

PromptDetail({
  1. String? createdAt,
  2. List<String> labels = const [],
  3. String? lastUpdatedAt,
  4. String? name,
  5. String? prompt,
  6. List<String> tags = const [],
  7. String? type,
  8. int? version,
  9. List<VersionView> versionHistory = const [],
})

Returns a new PromptDetail instance.

Implementation

PromptDetail({
  this.createdAt,
  this.labels = const [],
  this.lastUpdatedAt,
  this.name,
  this.prompt,
  this.tags = const [],
  this.type,
  this.version,
  this.versionHistory = const [],
});