encode method

  1. @override
dynamic encode(
  1. ReferralReconEnums self
)

Implementation

@override
dynamic encode(ReferralReconEnums self) {
  switch (self) {
    case ReferralReconEnums.dateOfVerification:
      return "dateOfVerification";
    case ReferralReconEnums.dateOfAdministration:
      return "dateOfAdministration";
    case ReferralReconEnums.dateOfDelivery:
      return "dateOfDelivery";
    case ReferralReconEnums.referralComments:
      return "referralComments";
    case ReferralReconEnums.cycle:
      return "cycle";
    case ReferralReconEnums.hFCoordinator:
      return "hfCoordinator";
    case ReferralReconEnums.referredBy:
      return "referredBy";
    case ReferralReconEnums.dateOfEvaluation:
      return "dateOfEvaluation";
    case ReferralReconEnums.nameOfReferral:
      return "nameOfReferral";
    case ReferralReconEnums.gender:
      return "gender";
    case ReferralReconEnums.age:
      return "age";
    case ReferralReconEnums.visited:
      return "VISITED";
  }
}