encode static method

String encode(
  1. CodeFlag value
)

Implementation

static String encode(CodeFlag value) {
	switch (value) {
		case CodeFlag.maleOnly:
			return 'male_only';
		case CodeFlag.femaleOnly:
			return 'female_only';
		case CodeFlag.deptkinesitherapy:
			return 'deptkinesitherapy';
		case CodeFlag.deptnursing:
			return 'deptnursing';
		case CodeFlag.deptgeneralpractice:
			return 'deptgeneralpractice';
		case CodeFlag.deptsocialworker:
			return 'deptsocialworker';
		case CodeFlag.deptpsychology:
			return 'deptpsychology';
		case CodeFlag.deptadministrative:
			return 'deptadministrative';
		case CodeFlag.deptdietetics:
			return 'deptdietetics';
		case CodeFlag.deptspeechtherapy:
			return 'deptspeechtherapy';
		case CodeFlag.deptdentistry:
			return 'deptdentistry';
		case CodeFlag.deptoccupationaltherapy:
			return 'deptoccupationaltherapy';
		case CodeFlag.depthealthcare:
			return 'depthealthcare';
		case CodeFlag.deptgynecology:
			return 'deptgynecology';
		case CodeFlag.deptpediatry:
			return 'deptpediatry';
		case CodeFlag.deptalgology:
			return 'deptalgology';
		case CodeFlag.deptanatomopathology:
			return 'deptanatomopathology';
		case CodeFlag.deptanesthesiology:
			return 'deptanesthesiology';
		case CodeFlag.deptbacteriology:
			return 'deptbacteriology';
		case CodeFlag.deptcardiacsurgery:
			return 'deptcardiacsurgery';
		case CodeFlag.deptcardiology:
			return 'deptcardiology';
		case CodeFlag.deptchildandadolescentpsychiatry:
			return 'deptchildandadolescentpsychiatry';
		case CodeFlag.deptdermatology:
			return 'deptdermatology';
		case CodeFlag.deptdiabetology:
			return 'deptdiabetology';
		case CodeFlag.deptemergency:
			return 'deptemergency';
		case CodeFlag.deptendocrinology:
			return 'deptendocrinology';
		case CodeFlag.deptgastroenterology:
			return 'deptgastroenterology';
		case CodeFlag.deptgenetics:
			return 'deptgenetics';
		case CodeFlag.deptgeriatry:
			return 'deptgeriatry';
		case CodeFlag.depthandsurgery:
			return 'depthandsurgery';
		case CodeFlag.depthematology:
			return 'depthematology';
		case CodeFlag.deptinfectiousdisease:
			return 'deptinfectiousdisease';
		case CodeFlag.deptintensivecare:
			return 'deptintensivecare';
		case CodeFlag.deptlaboratory:
			return 'deptlaboratory';
		case CodeFlag.deptmajorburns:
			return 'deptmajorburns';
		case CodeFlag.deptmaxillofacialsurgery:
			return 'deptmaxillofacialsurgery';
		case CodeFlag.deptmedicine:
			return 'deptmedicine';
		case CodeFlag.deptmolecularbiology:
			return 'deptmolecularbiology';
		case CodeFlag.deptneonatalogy:
			return 'deptneonatalogy';
		case CodeFlag.deptnephrology:
			return 'deptnephrology';
		case CodeFlag.deptneurology:
			return 'deptneurology';
		case CodeFlag.deptneurosurgery:
			return 'deptneurosurgery';
		case CodeFlag.deptnte:
			return 'deptnte';
		case CodeFlag.deptnuclear:
			return 'deptnuclear';
		case CodeFlag.deptnutritiondietetics:
			return 'deptnutritiondietetics';
		case CodeFlag.deptobstetrics:
			return 'deptobstetrics';
		case CodeFlag.deptoncology:
			return 'deptoncology';
		case CodeFlag.deptophtalmology:
			return 'deptophtalmology';
		case CodeFlag.deptorthopedy:
			return 'deptorthopedy';
		case CodeFlag.deptpalliativecare:
			return 'deptpalliativecare';
		case CodeFlag.deptpediatricintensivecare:
			return 'deptpediatricintensivecare';
		case CodeFlag.deptpediatricsurgery:
			return 'deptpediatricsurgery';
		case CodeFlag.deptpharmacy:
			return 'deptpharmacy';
		case CodeFlag.deptphysicalmedecine:
			return 'deptphysicalmedecine';
		case CodeFlag.deptphysiotherapy:
			return 'deptphysiotherapy';
		case CodeFlag.deptplasticandreparatorysurgery:
			return 'deptplasticandreparatorysurgery';
		case CodeFlag.deptpneumology:
			return 'deptpneumology';
		case CodeFlag.deptpodiatry:
			return 'deptpodiatry';
		case CodeFlag.deptpsychiatry:
			return 'deptpsychiatry';
		case CodeFlag.deptradiology:
			return 'deptradiology';
		case CodeFlag.deptradiotherapy:
			return 'deptradiotherapy';
		case CodeFlag.deptrevalidation:
			return 'deptrevalidation';
		case CodeFlag.deptrheumatology:
			return 'deptrheumatology';
		case CodeFlag.deptrhumatology:
			return 'deptrhumatology';
		case CodeFlag.deptsenology:
			return 'deptsenology';
		case CodeFlag.deptsocialservice:
			return 'deptsocialservice';
		case CodeFlag.deptsportsmedecine:
			return 'deptsportsmedecine';
		case CodeFlag.deptstomatology:
			return 'deptstomatology';
		case CodeFlag.deptsurgery:
			return 'deptsurgery';
		case CodeFlag.deptthoracicsurgery:
			return 'deptthoracicsurgery';
		case CodeFlag.depttoxicology:
			return 'depttoxicology';
		case CodeFlag.depttropicalmedecine:
			return 'depttropicalmedecine';
		case CodeFlag.depturology:
			return 'depturology';
		case CodeFlag.deptvascularsurgery:
			return 'deptvascularsurgery';
		case CodeFlag.deptvisceraldigestiveabdominalsurgery:
			return 'deptvisceraldigestiveabdominalsurgery';
		case CodeFlag.depttransplantsurgery:
			return 'depttransplantsurgery';
		case CodeFlag.deptpercutaneous:
			return 'deptpercutaneous';
		case CodeFlag.deptchildbirth:
			return 'deptchildbirth';
		}
}