UserNotificationModel constructor
UserNotificationModel({
- String? uid,
- DocumentSnapshot<
Object?> ? snapshot, - String? message,
- String? userId,
- String? from,
- ChannelData? channelData,
- NotificationState? state,
- List<
NotificationChannelType> ? channelTypes, - required double createdAt,
- double? updatedAt,
- double? deliveredAt,
- double? readAt,
- 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,
});