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