UserNotification constructor

UserNotification({
  1. int? id,
  2. required String subject,
  3. UserNotificationTypeEnum? type,
  4. required String body,
  5. bool? isRead,
  6. DateTime? created,
  7. String? eventAlias,
})

Returns a new UserNotification instance.

Implementation

UserNotification({
  this.id,
  required this.subject,
  this.type,
  required this.body,
  this.isRead,
  this.created,
  this.eventAlias,
});