update shipment and carton

This commit is contained in:
tzw
2021-09-13 09:51:55 +06:30
parent a6617ae7e2
commit d3c43c1b85
9 changed files with 49 additions and 44 deletions

View File

@@ -96,8 +96,7 @@ class DeliveryAddressModel extends BaseModel {
.orderBy("full_name")
.get();
return querySnap.docs
.map((e) =>
DeliveryAddress.fromMap(e.data as Map<String, dynamic>, e.id))
.map((e) => DeliveryAddress.fromMap(e.data(), e.id))
.toList();
}
}