Skip to content

Commit e703133

Browse files
author
Akshatji800
committed
fix: in-app notification showing null as data issue.
1 parent 102d8d2 commit e703133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Model/notification_model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class NotificationContentModel {
5555
return NotificationContentModel(
5656
identification: json['_id'],
5757
id: json['id'],
58-
name: json['data']['title'],
58+
name: json['data']['name'],
5959
read: json['read'],
6060
ts: json['ts'],
6161
status: status,

0 commit comments

Comments
 (0)