feat: update print

This commit is contained in:
efrilm
2025-08-07 22:03:05 +07:00
parent 203eda75e4
commit de22251440
5 changed files with 129 additions and 71 deletions
+17
View File
@@ -0,0 +1,17 @@
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,
);
}
}