factory Notification.fromJson(Map<String, dynamic> json) => Notification( json['id'] as int, json['params'] as List<dynamic>, );