feat: add remote pull and push

This commit is contained in:
2026-09-23 00:19:58 +02:00
parent 9aaba69e3c
commit ccf5165417
29 changed files with 3042 additions and 24 deletions
+4
View File
@@ -7,6 +7,7 @@ class BarTab {
final String status;
final DateTime openedAt;
final DateTime? closedAt;
final int version;
final List<TabItem> items;
const BarTab({
@@ -14,6 +15,7 @@ class BarTab {
required this.customerName,
required this.status,
required this.openedAt,
this.version = 0,
required this.items,
this.closedAt,
});
@@ -41,6 +43,7 @@ class BarTab {
status == other.status &&
openedAt == other.openedAt &&
closedAt == other.closedAt &&
version == other.version &&
listEquals(items, other.items);
@override
@@ -50,6 +53,7 @@ class BarTab {
status,
openedAt,
closedAt,
version,
Object.hashAll(items),
);
}