toJson method

Map<String, dynamic> toJson()

Json Map object of this Address.

Implementation

Map<String, dynamic> toJson() {
  return {
    'house_number': houseNumber,
    'road': road,
    'neighbourhood': neighbourhood,
    'suburb': suburb,
    'city': city,
    'district': district,
    'state': state,
    'postcode': postalCode,
    'country': country,
    'country_code': countryCode,
  };
}