fix carton

This commit is contained in:
2021-01-10 15:56:27 +06:30
parent 83cea10328
commit 4839109280
21 changed files with 201 additions and 162 deletions

View File

@@ -7,6 +7,7 @@ class DeliveryAddress {
String state;
String phoneNumber;
bool isDefault;
String userID;
DeliveryAddress(
{this.id,
this.fullName,
@@ -15,6 +16,7 @@ class DeliveryAddress {
this.city,
this.state,
this.phoneNumber,
this.userID,
this.isDefault = false});
factory DeliveryAddress.fromMap(Map<String, dynamic> map, String docID) {
@@ -39,6 +41,7 @@ class DeliveryAddress {
'city': city,
'state': state,
'phone_number': phoneNumber,
'user_id': userID,
};
}