add delivery address vo

This commit is contained in:
Sai Naw Wun
2020-10-08 11:38:05 +06:30
parent 6105b45cb8
commit 7ae74275cd
22 changed files with 202 additions and 101 deletions

View File

@@ -0,0 +1,31 @@
class DeliveryAddress {
String id;
String fullName;
String addressLine1;
String addressLine2;
String city;
String state;
String country;
String phoneNumber;
DeliveryAddress(
{this.fullName,
this.addressLine1,
this.addressLine2,
this.city,
this.state,
this.country,
this.phoneNumber});
Map<String, dynamic> toMap() {
return {
"id": id,
'full_name': fullName,
'address_line1': addressLine1,
'address_line2': addressLine2,
'city': city,
'state': state,
'phone_number': phoneNumber,
'contry': country,
};
}
}