Notification constructor

Notification({
  1. required int id,
  2. required bool isRead,
  3. required String title,
  4. required String message,
  5. required String link,
  6. required String sender,
  7. required DateTime createdAt,
  8. required DateTime updatedAt,
  9. String? imageUrl,
})

Implementation

Notification({
  required this.id,
  required this.isRead,
  required this.title,
  required this.message,
  required this.link,
  required this.sender,
  required this.createdAt,
  required this.updatedAt,
  this.imageUrl,
});