Map<String, dynamic> toJson() => { "id": id, "model": model, "choices": List<dynamic>.from(choices.map((x) => x.toJson())), };