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