toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['addressId'] = this.addressId;
data['address'] = this.address;
data['country'] = this.country;
data['state'] = this.state;
data['city'] = this.city;
data['postcode'] = this.postcode;
data['shop_latitude'] = this.shopLatitude;
data['shop_longitude'] = this.shopLongitude;
data['flat_rate'] = this.flatRate;
data['for_first'] = this.forFirst;
data['every_additional'] = this.everyAdditional;
return data;
}