toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
final l$notifications = notifications;
result$data['notifications'] =
l$notifications.map((e) => e.toJson()).toList();
return result$data;
}