fcs shipment update

This commit is contained in:
Phaung Phaung
2021-09-13 14:24:04 +06:30
parent 1e6471e66c
commit 273c0389c6
3 changed files with 22 additions and 20 deletions

View File

@@ -124,7 +124,7 @@ class FcsShipmentModel extends BaseModel {
.collection("/$fcs_shipment_collection")
.doc(id)
.get(const GetOptions(source: Source.server));
var fcs = FcsShipment.fromMap(snap.data as Map<String, dynamic>, snap.id);
var fcs = FcsShipment.fromMap(snap.data()!, snap.id);
return fcs;
} catch (e) {