update shipment
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user