NotificationModel constructor

NotificationModel(
  1. {int? id,
  2. int? userId,
  3. String? type,
  4. required String name,
  5. String? url,
  6. dynamic checkedDate,
  7. DateTime? createdAt,
  8. required DateTime updatedAt,
  9. required List<NotificationMessageModel> notificationMessages}
)

Implementation

NotificationModel({
  this.id,
  this.userId,
  this.type,
  required this.name,
  this.url,
  this.checkedDate,
  this.createdAt,
  required this.updatedAt,
  required this.notificationMessages,
});