This commit is contained in:
efrilm
2025-10-26 16:09:56 +07:00
parent 0e83d213fc
commit 655902a659
23 changed files with 3519 additions and 6 deletions
@@ -0,0 +1,14 @@
part of 'extension.dart';
extension StringX on String {
TableStatusType toTableStatusType() {
switch (this) {
case 'available':
return TableStatusType.available;
case 'occupied':
return TableStatusType.occupied;
default:
return TableStatusType.unknown;
}
}
}