NotificationModel.fromJson constructor
Implementation
factory NotificationModel.fromJson(Map<String, dynamic>? rawJson) {
return NotificationModel(
Title: rawJson?["title"] ?? "",
Message: rawJson?["message"] ?? "",
CreatedDate: rawJson?["created_date"] ?? "",
isRead: rawJson?["is_read"] ?? false,
);
}