UserNotificationModel constructor

UserNotificationModel({
  1. String? uid,
  2. DocumentSnapshot<Object?>? snapshot,
  3. String? message,
  4. String? userId,
  5. String? from,
  6. ChannelData? channelData,
  7. NotificationState? state,
  8. List<NotificationChannelType>? channelTypes,
  9. required double createdAt,
  10. double? updatedAt,
  11. double? deliveredAt,
  12. double? readAt,
  13. Map<String, dynamic>? metadata,
})

Implementation

UserNotificationModel({
  this.uid,
  this.snapshot,
  this.message,
  this.userId,
  this.from,
  this.channelData,
  this.state,
  this.channelTypes,
  required this.createdAt,
  this.updatedAt,
  this.deliveredAt,
  this.readAt,
  this.metadata,
});