encode method
Implementation
@override
dynamic encode(ReferralReconAdditionalFields self) {
switch (self) {
case ReferralReconAdditionalFields.deliveryStrategy:
return "deliveryStrategy";
case ReferralReconAdditionalFields.cycleIndex:
return "cycleIndex";
case ReferralReconAdditionalFields.doseIndex:
return "doseIndex";
case ReferralReconAdditionalFields.dateOfVerification:
return "dateOfVerification";
case ReferralReconAdditionalFields.dateOfAdministration:
return "dateOfAdministration";
case ReferralReconAdditionalFields.dateOfDelivery:
return "dateOfDelivery";
case ReferralReconAdditionalFields.referralComments:
return "referralComments";
case ReferralReconAdditionalFields.cycle:
return "cycle";
case ReferralReconAdditionalFields.hFCoordinator:
return "hfCoordinator";
case ReferralReconAdditionalFields.referredBy:
return "referredBy";
case ReferralReconAdditionalFields.dateOfEvaluation:
return "dateOfEvaluation";
case ReferralReconAdditionalFields.nameOfReferral:
return "nameOfReferral";
case ReferralReconAdditionalFields.gender:
return "gender";
case ReferralReconAdditionalFields.age:
return "age";
case ReferralReconAdditionalFields.deliveryComment:
return "deliveryComment";
case ReferralReconAdditionalFields.latitude:
return "latitude";
case ReferralReconAdditionalFields.longitude:
return "longitude";
}
}