toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = {};
data['firstName'] = firstName;
data['lastName'] = lastName;
data['line1'] = line1;
data['line2'] = line2;
data['city'] = city;
data['state'] = state;
data['postalCode'] = postalCode;
data['country'] = country;
data['isFullAddress'] = isFullAddress;
data['isStoreAddress'] = isStoreAddress;
return data;
}