SymptomsData.fromJson constructor
Implementation
SymptomsData.fromJson(Map<String, dynamic> json) {
symptomName = json['symptomName'];
isSelected = json['isSelected'];
symptomId = json['symptomId'];
phaseIds = json['phaseIds'];
phaseIds = (json['phaseIds'] != null) ? json['phaseIds'].cast<int>() : [];
}