update shipment and carton
This commit is contained in:
@@ -108,8 +108,8 @@ class FcsShipmentModel extends BaseModel {
|
||||
.where("status", isEqualTo: fcs_shipment_confirmed_status)
|
||||
.get(const GetOptions(source: Source.server));
|
||||
fcsShipments = snaps.docs.map((documentSnapshot) {
|
||||
var fcs = FcsShipment.fromMap(
|
||||
documentSnapshot.data as Map<String, dynamic>, documentSnapshot.id);
|
||||
var fcs =
|
||||
FcsShipment.fromMap(documentSnapshot.data(), documentSnapshot.id);
|
||||
return fcs;
|
||||
}).toList();
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user