toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = {};
data['isPrimary'] = isPrimary;
data['fullAddress'] = fullAddress;
data['addressId'] = addressId;
data['line1'] = line1;
data['line2'] = line2;
data['city'] = city;
data['state'] = state;
data['postalCode'] = postalCode;
data['country'] = country;
data['isSelected'] = isSelected;
return data;
}