Notification constructor

const Notification({
  1. required int id,
  2. required int date,
  3. required bool isSilent,
  4. required NotificationType type,
})

Contains information about a notification

Implementation

const Notification({
  required this.id,
  required this.date,
  required this.isSilent,
  required this.type,
});