Plan.fromJson constructor
Implementation
factory Plan.fromJson(Map<String, dynamic> json) {
return Plan(
nonPharmacologicalIntervention: json['non_pharmacological_intervention'] as String?,
medications: json['medications'] as String?,
referrals: json['referrals'] as String?,
followUpInstructions: json['follow_up_instructions'] as String?,
);
}