add mix carton

This commit is contained in:
Sai Naw Wun
2020-10-21 02:59:10 +06:30
parent b87703c693
commit 9aefc585ec
23 changed files with 393 additions and 519 deletions

View File

@@ -123,6 +123,12 @@ class Package {
currentStatusDate: DateTime.parse(json['status_date']));
}
@override
bool operator ==(Object other) => other is Package && other.id == id;
@override
int get hashCode => id.hashCode;
@override
String toString() {
return 'Package{id: $id, status: $status, market:$market, trackingID: $trackingID,}';