
enum ExperienceSkill {
  foodService('food_service'),
  bartending('bartending'),
  eventSetup('event_setup'),
  hospitality('hospitality'),
  warehouse('warehouse'),
  customerService('customer_service'),
  cleaning('cleaning'),
  security('security'),
  retail('retail'),
  cooking('cooking'),
  cashier('cashier'),
  server('server'),
  barista('barista'),
  hostHostess('host_hostess'),
  busser('busser'),
  driving('driving');

  final String value;
  const ExperienceSkill(this.value);

  static ExperienceSkill? fromString(String value) {
    try {
      return ExperienceSkill.values.firstWhere((e) => e.value == value);
    } catch (_) {
      return null;
    }
  }
}
