null safety

This commit is contained in:
Phaung Phaung
2021-09-10 15:23:13 +06:30
parent 5c5e47b9ad
commit 376153e22f
14 changed files with 80 additions and 66 deletions

View File

@@ -42,7 +42,7 @@ class DeliveryModel extends BaseModel {
if (listener != null) listener.cancel();
_cartons = [];
try {
listener = Firestore.instance
listener = FirebaseFirestore.instance
.collection("$path")
.where("status", isEqualTo: carton_shipped_status)
.where("carton_type", whereIn: [