NiceVersionItem constructor

const NiceVersionItem({
  1. required String id,
  2. required String version,
  3. String? description,
  4. required DateTime timestamp,
  5. String? author,
  6. String? authorAvatar,
  7. List<NiceVersionChange>? changes,
  8. bool isPublished = false,
  9. bool isDraft = false,
})

Implementation

const NiceVersionItem({
  required this.id,
  required this.version,
  this.description,
  required this.timestamp,
  this.author,
  this.authorAvatar,
  this.changes,
  this.isPublished = false,
  this.isDraft = false,
});