Notification constructor Null safety

Notification(
  1. {String? id,
  2. Repository? repository,
  3. NotificationSubject? subject,
  4. String? reason,
  5. bool? unread,
  6. DateTime? updatedAt,
  7. DateTime? lastReadAt,
  8. String? url,
  9. String? subscriptionUrl}
)

Implementation

Notification({
  this.id,
  this.repository,
  this.subject,
  this.reason,
  this.unread,
  this.updatedAt,
  this.lastReadAt,
  this.url,
  this.subscriptionUrl,
});