modify package list

This commit is contained in:
PhyoThandar
2020-06-24 16:06:15 +06:30
parent 3c147e0ecd
commit 76235bed4b
17 changed files with 52727 additions and 190 deletions

View File

@@ -1,9 +1,4 @@
// class Status {
// String status;
// DateTime date;
// bool done;
// Status({this.status, this.date, this.done});
// }
import 'box.dart';
class Package {
String id;
@@ -34,7 +29,7 @@ class Package {
shipmentNumber + "-" + receiverNumber + " #" + boxNumber;
double get price => rate.toDouble() * weight;
// List<Status> statusHistory;
List<Status> statusHistory;
Package(
{this.id,
@@ -55,7 +50,6 @@ class Package {
this.arrivedDate,
this.cargoDesc,
this.market,
this.trackingID
// this.statusHistory
});
this.trackingID,
this.statusHistory});
}