second commit

This commit is contained in:
Anbarasu
2026-05-27 10:35:09 +05:30
parent c53794c04c
commit 1435ac47b0
501 changed files with 52818 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
class CreateDeliveryAddress {
int? locationid;
int? customerid;
String? address;
String? suburb;
String? city;
String? state;
String? postcode;
String? doorno;
String? landmark;
String? latitude;
String? longitude;
int? primaryaddress;
CreateDeliveryAddress(
{this.locationid,
this.customerid,
this.address,
this.suburb,
this.city,
this.state,
this.postcode,
this.doorno,
this.landmark,
this.latitude,
this.longitude,
this.primaryaddress});
CreateDeliveryAddress.fromJson(Map<String, dynamic> json) {
locationid = json['locationid'];
customerid = json['customerid'];
address = json['address'];
suburb = json['suburb'];
city = json['city'];
state = json['state'];
postcode = json['postcode'];
doorno = json['doorno'];
landmark = json['landmark'];
latitude = json['latitude'];
longitude = json['longitude'];
primaryaddress = json['defaultaddress'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['locationid'] = this.locationid;
data['customerid'] = this.customerid;
data['address'] = this.address;
data['suburb'] = this.suburb;
data['city'] = this.city;
data['state'] = this.state;
data['postcode'] = this.postcode;
data['doorno'] = this.doorno;
data['landmark'] = this.landmark;
data['latitude'] = this.latitude;
data['longitude'] = this.longitude;
data['defaultaddress'] = this.primaryaddress;
return data;
}
}