update shipment

This commit is contained in:
Thinzar Win
2020-07-01 08:12:59 +06:30
parent 45c4524a84
commit b15e685f3a
4 changed files with 149 additions and 127 deletions

View File

@@ -14,6 +14,7 @@ class PickUp {
DateTime date;
List<Cargo> cargoTypes;
bool isCourier;
int radioIndex;
PickUp(
{this.id,
@@ -28,7 +29,8 @@ class PickUp {
this.status,
this.date,
this.cargoTypes,
this.isCourier=false});
this.isCourier = false,
this.radioIndex = 1});
int get last => DateTime.now().difference(date).inDays;