ServerNotificationModel constructor
const
ServerNotificationModel({
- required DateTime createdAt,
- required String uuid,
- required String code,
- required String body,
- required String title,
- String? senderName,
- String? senderImage,
- required String notifiableType,
- required int notifiableId,
- required Map<
String, dynamic> data, - DateTime? readAt,
- String? authableType,
- int? authableId,
Implementation
const ServerNotificationModel({
required this.createdAt,
required this.uuid,
required this.code,
required this.body,
required this.title,
this.senderName,
this.senderImage,
required this.notifiableType,
required this.notifiableId,
required this.data,
this.readAt,
this.authableType,
this.authableId,
}) : super(id: -1);