feat: add remote pull and push
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user