enum BusinessType {
  restaurant('restaurant'),
  retail('retail'),
  service('service'),
  ticketing('ticketing'),
  entertainment('entertainment');

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

  static BusinessType fromString(String value) {
    return BusinessType.values.firstWhere(
      (type) => type.value == value,
      orElse: () => BusinessType.restaurant,
    );
  }
}
