toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
"addressLine1": this.addressLine1,
"addressLine2": this.addressLine2,
"postcode": this.postcode,
"country": this.country,
"city": this.city,
"state": this.state,
"phoneModel": this.phoneModel.toMap()
};
}