checkout form

This commit is contained in:
efrilm
2025-10-25 02:09:47 +07:00
parent e85138f27e
commit 013f313e35
13 changed files with 1719 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
enum OrderType {
dineIn('DINE IN'),
takeAway('TAKE AWAY'),
delivery('DELIVERY'),
freeTable('FREE TABLE');
final String value;
const OrderType(this.value);
static OrderType fromString(String value) {
return OrderType.values.firstWhere(
(type) => type.value == value,
orElse: () => OrderType.dineIn,
);
}
}