Map<String, dynamic> toJson() { return { 'symptomName': name, 'occurrences': occurrences, 'accuracy': accuracy, }; }