enum Gender { none, male, female, divers, } enum SkillOption { product, finance, engineering, design, marketing, management, operations, legal; String get displayName { switch (this) { case SkillOption.product: return 'Product Development'; case SkillOption.design: return 'Design'; case SkillOption.engineering: return 'Engineering'; case SkillOption.marketing: return 'Sales and Marketing'; case SkillOption.finance: return 'Finance'; case SkillOption.management: return 'Management'; case SkillOption.operations: return 'Operations'; case SkillOption.legal: return 'Legal'; } } }