toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'postalCode': postalCode,
    'country': country,
    'state': state,
    'line1': line1,
    'line2': line2,
    'city': city,
  };
}