Notification.fromJson constructor
Parse from a json
Implementation
factory Notification.fromJson(Map<String, dynamic> json) => Notification(
id: json['id'],
date: json['date'],
isSilent: json['is_silent'],
type: NotificationType.fromJson(json['type']),
);