StoryModel constructor

StoryModel({
  1. required int id,
  2. required UserModel user,
  3. DateTime? createdAt,
  4. String? attachedUrl,
  5. String? text,
  6. String? type,
  7. required bool isArchive,
})

Implementation

StoryModel({
  required this.id,
  required this.user,
  this.createdAt,
  this.attachedUrl,
  this.text,
  this.type,
  required this.isArchive,
});